Problem title
Difficulty
Avg time to solve

K Max Sum Combinations
Easy
10 mins
Maximum In Sliding Windows Of Size K
Moderate
20 mins
Generate Binary Numbers
Easy
10 mins
K subsets with equal sum
Easy
15 mins
Combination Sum
Easy
15 mins
Linear Probing
Easy
15 mins
Number of rectangles in a grid
Easy
15 mins
Closest Leaf To Given Node In Binary Tree
Moderate
15 mins
Max Stack
Easy
15 mins
Count triplets in a sorted doubly linked list whose sum is equal to a given value x
Moderate
15 mins 10

# Convert Given Number To Words

Difficulty: MEDIUM
Avg. time to solve
24 min

Problem Statement

#### Use the Indian standard unit of numbering.

##### Example :
``````If the given input is 62, the output should be 'Sixty two' (without quotes).

Similarly, if the input is 1000000, the output should be 'Ten lakh'.
``````
##### Input format :
``````The first line contains an integer 't' which denotes the number of test cases or queries to be run. Then the test cases follow.

The first and only line of each test case or query contains the integer 'num' which is to be converted to words.
``````
##### Output Format :
``````For each test case, return the number expressed in words.

Output for every test case will be printed in a separate line.

Note:- All letters except the first one should be small.
``````
##### Note
``````You are not required to print anything, and it has already been taken care of. Just implement the function.
``````
##### Constraints :
``````1 <= t <= 10^4
0 <= N <= 10^9

where 't' is the number of test cases, and 'N' is the given number.

Time Limit: 1 sec.
``````
##### Sample Input 1:
``````2
72
1
``````
##### Sample Output 1:
``````Seventy two
One
``````
##### Explanation For Sample Output 1:
``````In the first test case, the given number is 72, so the output will be "Seventy two".

In the second test case, the given number is 1, so the output will be "One".
``````
##### Sample Input 2:
``````2
55
62
``````
##### Sample Output 2:
``````Fifty five
Sixty two
``````   Console