|All-time Popular Problems|
|Construct Tree from Inorder & Preorder|
|Sum of two large numbers|
|Level order traversal in spiral form|
|Spirally traversing a matrix|
|Angle between hour and minute hand|
|Binary Tree to DLL|
|Smallest Positive missing number|
|Height of Binary Tree|
|Largest Number formed from an Array|
Count the numbers between 1 to N containing 4 as a digit.
Each line will contain the number of test cases T.
Each test case will contain a number N.
Print the count of numbers for each test case in a separate line.