Blog Posts

Playing with the letter ‘E’ in Java

January 25, 2022

The challenge Given String str, return: If given String doesn’t contain any “e”, return: “There is no “e”.


Read More

How to Sum the Average for NBA Players in Golang

January 24, 2022

The challenge Write a function, called sumPPG, that takes two NBA player objects/struct/Hash/Dict/Class and sums their PPG


Read More

How to Compute a Cube as Sums in Golang

January 23, 2022

The challenge You will be given a number n (where n >= 1) and your task is to find n consecutive odd numbers whose sum is exactly the cube of n.


Read More

The Deaf Rats of Hamelin Challenge in Java

January 22, 2022

The challenge The Pied Piper has been enlisted to play his magical tune and coax all the rats out of town.


Read More

How to Find the Next Perfect Square in Java

January 21, 2022

The challenge You might know some pretty large perfect squares. But what about the NEXT one?


Read More

How to Find the Unique String in Python

January 20, 2022

The challenge There is an array of strings. All strings contain similar letters except one.


Read More

How to convert a PascalCase string into snake_case in Python

January 19, 2022

The challenge Complete the function/method so that it takes a PascalCase string and returns the string in snake_case notation.


Read More

How to Convert a Hex String to RGB in Python

January 18, 2022

The challenge When working with color values it can sometimes be useful to extract the individual red, green, and blue (RGB) component values for a color.


Read More

How to Create a Hashtag Generator in Python

January 17, 2022

The challenge Write a hashtag generator function that takes a string and returns a #HashCodeString of it.


Read More

How to Move Zeros to the End in Python

January 16, 2022

The challenge Write an algorithm that takes an array and moves all of the zeros to the end, preserving the order of the other elements.


Read More

Regex for Gregorian Date Validation in Python

January 15, 2022

The challenge Write a regular expression that validates the gregorian date in the format “DD.


Read More

How to Create Your Own Python Split Function

January 14, 2022

The challenge Write your own implementation of the built-in split function in Python.


Read More

How to create a Domain Name Validator in Python

January 13, 2022

The challenge Create a domain name validator mostly compliant with RFC 1035, RFC 1123, and RFC 2181


Read More

How to start Java Jar as Service on Linux

January 12, 2022

If you have a Java Jar file, you can run it as a service under Linux/Ubuntu.


Read More

How to write a validDate Regex in Python

January 11, 2022

The challenge Your task is to write a regular expression (regex) that will match a string only if it contains at least one valid date, in the format [mm-dd] (that is, a two-digit month, followed by a dash, followed by a two-digit date, surrounded by square brackets).


Read More

How to Validate Passwords with Regex in Python

January 10, 2022

The challenge You need to write regex that will validate a password to make sure it meets the following criteria:


Read More

How to create a Coordinates Validator in Golang

January 9, 2022

The challenge You need to create a function that will validate if given parameters are valid geographical coordinates.


Read More

How to Validate ISBN-10 numbers in Golang

January 8, 2022

The challenge ISBN-10 identifiers are ten digits long. The first nine characters are digits 0-9.


Read More

How to Create a Java GUI App that shows the Logged-in User and Hostname

January 7, 2022

Create a new file called Application.java and paste the following:


Read More

How to view a Terraform Module’s Output

January 6, 2022

An output in Terraform is a way to view the result of an action that has been performed, or resource that has been created.


Read More