Testing javascript algorithms
Open your favorite Terminal and run this command.
$ npm test
There are n stairs, a person standing at the bottom wants to reach the top. The person can climb either 1 stair or 2 stairs at a time. Count the number of ways, the person can reach the top.
Given an array of numbers, you should compute the sum of the two smallest number values. You can assume that the array only contains numbers, is never undefined and the array has min length of 2.
Given an input string, you should check if the string contains the same amount of 'x' and 'o'. The case doesn't matter - if the amount is equal, return a true otherwise return false.