Blog Posts

How to satisfy Wilson Primes in Python

February 14, 2022

The challenge Wilson primes satisfy the following condition. Let P represent a prime number.


Read More

How to Boot an EC2 with a WebServer Setup

February 13, 2022

Create a new AWS EC2 instance, and set the User Script to the following:


Read More

Writing a Sleigh Authentication in Python

February 12, 2022

The challenge Christmas is coming and many people dreamed of having a ride with Santa’s sleigh.


Read More

Solving for Multiple of Index in Python

February 11, 2022

The challenge Return a new array consisting of elements which are multiple of their own index in input array (length > 1).


Read More

How to Find an item’s Alphabet Position in Python

February 10, 2022

The challenge When provided with a letter, return its position in the alphabet.


Read More

How to Keep up the Hoop in Java

February 9, 2022

The challenge Alex just got a new hula hoop, he loves it but feels discouraged because his little brother is better than him


Read More

Will there be Enough Space in Java

February 8, 2022

The challenge Bob is working as a bus driver. However, he has become extremely popular amongst the city’s residents.


Read More

How to Swap Node Pairs In Linked List in Java

February 7, 2022

The challenge If you are given the head node in a linked list, write a method that swaps each pair of nodes in the list, then returns the head node of the list.


Read More

How to Solve ‘Finding Neo’ in Java

February 6, 2022

The challenge Neo is somewhere in the Matrix. public interface Matrix { public int size(); public int get(int x, int y); } You are Morpheus, and your job is to find him.


Read More

How to Solve a Pandigital Sequence in Java

February 5, 2022

The challenge In mathematics, a pandigital number is a number that in a given base has among its significant digits each digit used in the base at least once.


Read More

How to get Meta-Data information from an AWS EC2 Instance

February 4, 2022

If you need to query meta-data information from your running EC2 instance, you can curl the following location:


Read More

How to write a Lazy Repeater Helper in Python

February 3, 2022

The challenge The make_looper() function takes a string (of non-zero length) as an argument.


Read More

How to write a String Case Conversion Helper in Python

February 2, 2022

The challenge In this challenge, you will make a function that converts between camelCase, snake_case, and kebab-case.


Read More

How to create Interleaving Arrays in Python

February 1, 2022

The challenge Create a function, that accepts an arbitrary number of arrays and returns a single array generated by alternately appending elements from the passed-in arguments.


Read More

How to Find the Largest product in a Series in Python

January 31, 2022

The challenge Complete the greatestProduct method so that it’ll find the greatest product of five consecutive digits in the given string of digits.


Read More

How to Calculate the Least Common Multiple in Python

January 30, 2022

The challenge Write a function that calculates the least common multiple of its arguments; each argument is assumed to be a non-negative integer.


Read More

How to Solve Caesar Cipher Helper in Python

January 29, 2022

The challenge Write a class that, when given a string, will return an uppercase string with each letter shifted forward in the alphabet by however many spots the cipher was initialized to.


Read More

How to Write Out Numbers in Python

January 28, 2022

The challenge Create a function that transforms any positive number to a string representing the number in words.


Read More

How to do Base64 Encoding in Python

January 27, 2022

The challenge Create a function that converts the value of the String to and from Base64 using the ASCII character set.


Read More

How to Calculate Transport on Vacation in Java

January 26, 2022

The challenge After a hard quarter in the office you decide to get some rest on a vacation.


Read More