## How to Sum Consecutives in Java

The challenge You are given a list/array which contains only integers (positive and negative). Your job is to sum only the numbers that are the… Read More »How to Sum Consecutives in Java

The challenge You are given a list/array which contains only integers (positive and negative). Your job is to sum only the numbers that are the… Read More »How to Sum Consecutives in Java

The challenge You are given a string. You must replace any occurrence of the sequence coverage by covfefe, however, if you don’t find the word coverage in the string, you… Read More »Replacing Occurences of Words in Java

The challenge Your task is to write a function toLeetSpeak that converts a regular english sentence to Leetspeak. More about LeetSpeak You can read at wiki -> https://en.wikipedia.org/wiki/Leet… Read More »Convert String to LeetSpeak in Java

The challenge Count the number of occurrences of each character and return it as a list of tuples in order of appearance. For empty output… Read More »Ordered Count of Characters in Python

The challenge Given a credit card number we can determine who the issuer/vendor is with a few basic knowns. Complete the function getIssuer() that will use the… Read More »Credit Card Issuer Checking in Java

The challenge Complete the function to find the count of the most frequent item of an array. You can assume that input is an array… Read More »Find Count of Most Frequent Item in an Array in Java

The challenge Given an array/list [] of integers, Find the Nth smallest element in this array of integers Notes Array/list size is at least 3 . Array/list’s numbers could be a mixture of positives… Read More »Return Nth Smallest Element in Java

Sometimes you will find that your Mac is running very hot, and you may want to keep track of it over time to see if… Read More »What temperature does your Mac CPU idle at?

The challenge Split a given string into different strings of equal size. Example: Assumptions: The solution in Java code Option 1: Option 2: Option 3:… Read More »Split String into Parts in Java

If you are getting the following error in MySQL:ERROR 1030 (HY000): Got error 168 from storage engine Then this usually means that your server has… Read More »Solution: ERROR 1030 (HY000): Got error 168 from storage engine

The challenge Given a sequence of numbers, find the largest pair sum in the sequence. For example Input sequence contains minimum two elements and every… Read More »Largest Pair Sum in Array in Python

The challenge Consider the word “abode”. We can see that the letter a is in position 1 and b is in position 2. In the alphabet, a and b are also in positions 1 and 2. Notice also that d and e in abode occupy the… Read More »Alphabet Symmetry in Python

The challenge Check to see if a string has the same amount of ‘x’s and ‘o’s. The method must return a boolean and be case… Read More »Exes and Ohs in Java

The challenge Find the sum of the odd numbers within an array, after cubing the initial integers. The function should return None if any of the… Read More »Sum of Odd Cubed Numbers in Python

The challenge Given a positive integer n, calculate the following sum: All elements of the sum are the results of integer division. Example The solution in… Read More »Halving Sum in Python

The challenge Preloaded for you is a class, struct, or derived data type Node (depending on the language) used to construct linked lists in this challenge: Create… Read More »Convert a LinkedList to a String in Python

The challenge Find the number with the most digits. If two numbers in the argument array have the same number of digits, return the first… Read More »Most Digits from List in Python

The challenge You will be given an array and a limit value. You must check that all values in the array are below or equal to the limit value.… Read More »Check if all Values in Array are Smaller in Python

The challenge Given an array of integers, Find the maximum product obtained from multiplying 2 adjacent numbers in the array. Notes Array/list size is at least 2. Array/list numbers could be a mixture… Read More »Maximum Product from List of Integers in Python

The challenge You are given an array of numbers in which two numbers occur once and the rest occur only twice. Your task is to… Read More »Sum of Array Singles in Python

The challenge Given a two-dimensional array of integers, return the flattened version of the array with all the integers in the sorted (ascending) order. Example:… Read More »Flatten and Sort an Array in Python

The challenge Introduction There is a war and nobody knows – the alphabet war!There are two groups of hostile letters. The tension between left side… Read More »Playing the Alphabet War in Python

The challenge We want to generate a function that computes the series starting from 0 and ending until the given number. Example: Input: > 6… Read More »Sum of numbers from 0 to N in Python

The challenge Complete the method which accepts an array of integers, and returns one of the following: “yes, ascending” – if the numbers in the array… Read More »Sorted? yes? no? how? ..in Python

The challenge You will be given a string that may have mixed uppercase and lowercase letters and your task is to convert that string to… Read More »How to Fix String Casing in Python