Java solution to some of question on geeksforgeeks