Blog Posts

Consecutive strings in Java

April 20, 2021

The challenge You are given an array(list) strarr of strings and an integer k.


Read More

Determine the Highest Scoring Word in Java

April 19, 2021

The challenge Given a string of words, you need to find the highest scoring word.


Read More

Solving Speed Control in Java

April 18, 2021

The challenge In John’s car the GPS records every s seconds the distance travelled from an origin (distances are measured in an arbitrary but consistent unit).


Read More

Calculate Miles per Gallon to Kilometers per Litre in Java

April 17, 2021

The challenge Create an application that will display the number of kilometers per liter (output) based on the number of miles per imperial gallon (input).


Read More

How to Convert an Int to a List of Ints in Python

April 16, 2021

The challenge Given a non-negative integer, return an array / a list of the individual digits in order.


Read More

Find the Greatest Common Divisor in Java

April 15, 2021

The challenge Find the greatest common divisor of two positive integers.


Read More

How to Create a Circular List in Python

April 14, 2021

The challenge Create a Circular List A circular list is of finite size, but can infititely be asked for its previous and next elements.


Read More

How to Guess the Sequence in Java

April 13, 2021

The challenge You must guess a sequence and it has something to do with the number given.


Read More

Reversed sequence in Java

April 12, 2021

The challenge Build a function that returns an array of integers from n to 1 where n>0.


Read More

Count the Digit in Java

April 11, 2021

The challenge Take an integer n (n >= 0) and a digit d (0 <= d <= 9) as an integer.


Read More

Multiply all elements in an array in Java

April 10, 2021

The challenge Create a function multiplyAll/multiply_all which takes an array of integers as an argument.


Read More

[Solved] Fatal: refusing to merge unrelated histories in Git

April 9, 2021

You have received the dreaded fatal: refusing to merge unrelated histories error!


Read More

Credit Card Mask in Java

April 8, 2021

The challenge Usually when you buy something, you’re asked whether your credit card number, phone number or answer to your most secret question is still correct.


Read More

How to Reverse a Number in Java

April 7, 2021

The challenge Given a number, write a function to output its reverse digits.


Read More

Positions Average in Java

April 6, 2021

The challenge Suppose you have 4 numbers: '0', '9', '6', '4' and 3 strings composed with them:


Read More

Determine the Date by the Day Number in Java

April 5, 2021

The challenge What date corresponds to the nth day of the year?


Read More

Correct the time-string in Java

April 4, 2021

The challenge You have to create a method, that corrects a given time string.


Read More

Shifter Words Challenge in Java

April 3, 2021

The challenge You probably know that some characters written on a piece of paper, after turning this sheet 180 degrees, can be read, although sometimes in a different way.


Read More

Find Maximum and Minimum Values of a List in Java

April 2, 2021

The challenge Make two functions, max and min that take a(n) array/vector of integers list as input and outputs, respectively, the largest and lowest number in that array/vector.


Read More

Valid Parentheses in Java

April 1, 2021

The challenge Write a function that takes a string of parentheses, and determines if the order of the parentheses is valid.


Read More