Skip to content

Software Engineering Authority

  • Home
  • SaaS
    • Realtime Customer Analytics
    • HTTP Logger
  • Software
    • Serengeti – The Autonomous Distributed Database
    • Run JS – Chrome Extension
    • MakePip – Python Packager
    • Keep that mouse moving!
  • Github

Software Engineering Authority

  • Home
  • SaaS
    • Realtime Customer Analytics
    • HTTP Logger
  • Software
    • Serengeti – The Autonomous Distributed Database
    • Run JS – Chrome Extension
    • MakePip – Python Packager
    • Keep that mouse moving!
  • Github

What century is it in Java

  • February 21, 2021February 21, 2021

The challenge Return the century of the input year. The input will always be a 4 digit string, so there is no need for validation.… Read More »What century is it in Java

Lost number in number sequence in Java

  • February 20, 2021February 20, 2021

The challenge An ordered sequence of numbers from 1 to N is given. One number might have deleted from it, then the remaining numbers were… Read More »Lost number in number sequence in Java

Simple string reversal in Java

  • February 19, 2021February 19, 2021

The challenge In this challenge, we are going to reverse a string while maintaining the spaces (if any) in their original place. For example: More… Read More »Simple string reversal in Java

int32 to IPv4 in Java

  • February 18, 2021February 18, 2021

The challenge Take the following IPv4 address: 128.32.10.1 This address has 4 octets where each octet is a single byte (or 8 bits). 1st octet 128 has the… Read More »int32 to IPv4 in Java

Perimeter of squares in a rectangle in Java

  • February 17, 2021February 17, 2021

The challenge The drawing shows 6 squares the sides of which have a length of 1, 1, 2, 3, 5, 8. It’s easy to see… Read More »Perimeter of squares in a rectangle in Java

Palindrome chain length in Java

  • February 16, 2021February 16, 2021

The challenge Number is a palindrome if it is equal to the number with digits in reversed order. For example, 5, 44, 171, 4884 are palindromes, and 43, 194, 4773 are not. Write a… Read More »Palindrome chain length in Java

String array duplicates in Java

  • February 15, 2021February 15, 2021

The challenge You are given an array of strings and your task is to remove all consecutive duplicate letters from each string in the array.… Read More »String array duplicates in Java

Even or Odd Array Sum in Java

  • February 14, 2021February 14, 2021

The challenge Given a list of numbers, determine whether the sum of its elements is odd or even. Give your answer as a string matching “odd” or “even”.… Read More »Even or Odd Array Sum in Java

String Permutations in Java

  • February 13, 2021February 13, 2021

The challenge In this challenge, you have to create all permutations of an input string and remove duplicates if present. This means you have to… Read More »String Permutations in Java

Remove a Specific Element of an Array in Java

  • February 12, 2021February 12, 2021

The challenge You will be given a certain array of length n, such that n > 4, having positive and negative integers but there will be no… Read More »Remove a Specific Element of an Array in Java

Upside down numbers in Java

  • February 11, 2021February 11, 2021

The challenge Consider the numbers 6969 and 9116. When you rotate them 180 degrees (upside down), these numbers remain the same. To clarify, if we write them down on a… Read More »Upside down numbers in Java

Rotate matrix counter-clockwise N times in Java

  • February 10, 2021February 10, 2021

The challenge In this challenge your mission is to rotate matrix counter-clockwise N times. So, you will have 2 inputs: And the output is turned… Read More »Rotate matrix counter-clockwise N times in Java

Unable to import module “lambda_function”: No module named “pymysql”

  • February 9, 2021February 9, 2021

If you receive the following error message when trying to run pymysql on AWS Lambda: Unable to import module “lambda_function”: No module named “pymysql” then… Read More »Unable to import module “lambda_function”: No module named “pymysql”

Square Matrix Multiplication in Java

  • February 8, 2021February 8, 2021

The challenge Write a function that accepts two square (NxN) matrices (two dimensional arrays), and returns the product of the two. Only square matrices will… Read More »Square Matrix Multiplication in Java

Count the divisible numbers in Java

  • February 7, 2021February 7, 2021

The challenge Complete the function that takes 3 numbers x, y and k (where x ≤ y), and returns the number of integers within the range [x..y] (both ends included)… Read More »Count the divisible numbers in Java

Averages of numbers in Java

  • February 6, 2021February 6, 2021

The challenge Get the averages of these numbers Write a method, that gets an array of integer-numbers and return an array of the averages of… Read More »Averages of numbers in Java

Decimal to Factorial and Back in Java

  • February 5, 2021February 5, 2021

The challenge Coding decimal numbers with factorials is a way of writing out numbers in a base system that depends on factorials, rather than powers… Read More »Decimal to Factorial and Back in Java

Vowel Count in Java

  • February 4, 2021February 4, 2021

The challenge Return the number (count) of vowels in the given string.  We will consider a, e, i, o, u as vowels for this challenge (but not y).… Read More »Vowel Count in Java

Equal Sides Of An Array in Java

  • February 3, 2021February 3, 2021

The challenge You are going to be given an array of integers. Your job is to take that array and find an index N where… Read More »Equal Sides Of An Array in Java

Largest 5 digit number in a series in Java

  • February 2, 2021February 2, 2021

The challenge In the following 6 digit number: 91 is the greatest sequence of 2 consecutive digits. In the following 10 digit number: 67890 is the greatest… Read More »Largest 5 digit number in a series in Java

Next smaller number with the same digits in Java

  • February 1, 2021February 1, 2021

The challenge Write a function that takes a positive integer and returns the next smaller positive integer containing the same digits. For example: Return -1… Read More »Next smaller number with the same digits in Java

Count of positives / sum of negatives in Java

  • January 31, 2021January 31, 2021

The challenge Given an array of integers. Return an array, where the first element is the count of positives numbers and the second element is… Read More »Count of positives / sum of negatives in Java

Find the stray number in Java

  • January 30, 2021January 30, 2021

The challenge You are given an odd-length array of integers, in which all of them are the same, except for one single number. Complete the method which… Read More »Find the stray number in Java

4 By 4 Skyscrapers in Java

  • January 29, 2021January 29, 2021

The challenge In a grid of 4 by 4 squares you want to place a skyscraper in each square with only some clues: The height… Read More »4 By 4 Skyscrapers in Java

How to Fix: package org.junit.jupiter.api does not exist

  • January 28, 2021January 28, 2021

The problem If you have received the package org.junit.jupiter.api deos not exist error when trying to run a JUnit Java Test with Maven, it’s because… Read More »How to Fix: package org.junit.jupiter.api does not exist

  • « Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 30
  • Next »
en English
ar العربيةzh-CN 简体中文nl Nederlandsen Englishfr Françaisde Deutschit Italianopt Portuguêsru Русскийes Español

FREE Weekly Digest

Subscribe to receive an email every week for FREE

Name

Email


  • Actionscript
  • Advertising
  • Agile
  • AI
  • Android
  • Angular
  • AWS
  • Big Data
  • Biometrics
  • CLI
  • Cloud
  • CSS
  • Databases
  • Distributed
  • Docker
  • Domains
  • Forensics
  • Git
  • Go
  • Hosting
  • IDE
  • Interview
  • Java
  • Javascript
  • Kotlin
  • Kubernetes
  • Linux
  • Mac
  • Maven
  • Misc
  • MySQL
  • Networking
  • Node
  • NPM
  • Pandas
  • PHP
  • PIP
  • Platform
  • Python
  • Ruby
  • Security
  • SEO
  • Software
  • Spring
  • SQL
  • SSH
  • SSL
  • Startup
  • Terraform
  • Typescript

Be Social!

  • Facebook
  • Twitter
  • GitHub

Join over 12,000 other subscribers!

Subscribe to receive an email every week for FREE and boost your Software Engineering midset

Name

Email


Recent Posts

  • Reversed sequence in Java
  • Count the Digit in Java
  • Multiply all elements in an array in Java
  • Fatal: refusing to merge unrelated histories
  • Credit Card Mask in Java
  • How to Reverse a Number in Java
  • Positions Average in Java
  • Determine the Date by the Day Number in Java
  • Correct the time-string in Java

All content copyright to Andrew O - © 2021

Follow on Facebook