#algorithms
Read more stories on Hashnode
Articles with this tag
Understanding the Problem There is a list of numbers as nums. Each number has the value from 0 to 10^5. The program starts with the first index, which...
Understanding the Problem Given a number a as a parameter, each digit should be squared then sum every squared digits. Check if the sum of the squared...
Understanding the Problem It is to add two binaries in string format. For instance, if a=”1” and b=”11” the returned value should be ”100” in a string...
Understanding the Problem Each dial of the telephone has 3-4 letters on them. It is to have all the possible combination of the dials. For instance,...
Understanding the Problem There is a pyramid given with the length of n. From the bottom to top, the length of the floor is narrowed by 1. #...
Understanding the Problem This problem asks for the the depth(integer) of the tree as a return. But there are things that I had to consider. We do...