The challenge Given a list lst and a number N, create a new list that contains each number of lst at most N times without… Read More »Delete Occurrences of an Element if it occurs more than N times in Java
Reading from “standard input” is really useful if you are making a command-line application and require user input. First setup a new bufio reader, then… Read More »How to Read from Standard Input in Golang
The challenge Write a function that receives two strings and returns n, where n is equal to the number of characters we should shift the… Read More »How to Calculate String Rotation in Java
The challenge Compare two strings by comparing the sum of their values (ASCII character code). For comparing treat all letters as UpperCase null should be treated… Read More »Compare Strings by Sum of Chars in Java
The challenge Given two integers a, b, find The sum of them, BUT You are not allowed to use the operators + and – Notes The numbers (a,b) may be positive… Read More »How to Add Two Integers Without Arithmetic Operator 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
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?
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