javascript practice problems geeksforgeeks