Blog Posts

Counting smiley faces with Python

August 3, 2020

The challenge Given an array (arr) as an argument complete the function countSmileys that should return the total number of smiling faces.


Read More

Convert String to Camel Case using Java

August 2, 2020

The challenge Complete the method/function so that it converts dash/underscore delimited words into camel casing.


Read More

How to Setup an SSH Server on AWS

August 1, 2020

Basic instructions on how to set up an SSH server on an Ubuntu 16.


Read More

How to Convert Numeric Words into Numbers using Python

July 31, 2020

Challenge Using Python, we want to convert words into numbers. In this challenge, we will explore how to convert a string into an integer.


Read More

Solve The Triangle of Odd Numbers using Python

July 30, 2020

The challenge Given the triangle of consecutive odd numbers: 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 .


Read More

“Who likes it” code Challenge in Python

July 29, 2020

The Challenge You probably know the “like” system from Facebook and other pages.


Read More

Python 4 New Features Planned

July 28, 2020

It took the Python community a long time to move from Python 2 to Python 3.


Read More

Custom RGB To Hex Conversion with Python

July 27, 2020

The challenge The rgb function is incomplete. Complete it so that passing in RGB decimal values will result in a hexadecimal representation being returned.


Read More

Sort a Java Integer in Descending Order

July 26, 2020

The challenge Your task is to make a function that can take any non-negative integer as an argument and return it with its digits in descending order.


Read More

Get the Sum of Digits / Digital Root using Java

July 25, 2020

The challenge Digital root is the recursive sum of all the digits in a number.


Read More

How to write a Chain Adding Function in Python

July 24, 2020

The challenge We want to create a function that will add numbers together when called in succession.


Read More

Get the next biggest number with the same digits using Python

July 23, 2020

The challenge Create a function that takes a positive integer and returns the next bigger number that can be formed by rearranging its digits.


Read More

Solving Tribonacci Sequence with Python

July 22, 2020

The challenge As the name may already reveal, it works basically like a Fibonacci, but summing the last 3 (instead of 2) numbers of the sequence to generate the next.


Read More

The Casino Chips Problem Solved with Python

July 21, 2020

The challenge You are given three piles of casino chips: white, green and black chips:


Read More

Check if Isogram using Python

July 20, 2020

The challenge An isogram is a word that has no repeating letters, consecutive or non-consecutive.


Read More

Find the Longest Common Prefix using Python

July 19, 2020

The challenge Write a function to find the longest common prefix string amongst an array of strings.


Read More

Count and Say with Python

July 18, 2020

The challenge he count-and-say sequence is the sequence of integers with the first five terms as following:


Read More

The Plus One problem solved with Python

July 17, 2020

The challenge Given a non-empty array of digits representing a non-negative integer, increment one to the integer.


Read More

Solving the Single Number problem in Python

July 16, 2020

The challenge Given a non-empty array of integers, every element appears twice except for one.


Read More

Rotate a Matrix List in Python

July 15, 2020

The challenge You are given an n x n 2D matrix representing an image.


Read More