|All-time Popular Problems|
|Maximum difference between node and its ancestor|
|Delete a node from BST|
|K’th smallest element|
|Detect cycle in a directed graph|
|Element with left side smaller and right side greater|
|Sort The Array|
|Level order traversal Line by Line|
|Add two numbers represented by linked lists|
|Root to leaf path sum|
Given a pointer to a variable, the task is to complete the function updateVar which will increment the value of the variable by 10. The function does not returns anything.
Note:The Input/Ouput format and Example given below are used for system's internal purpose, and should be used by a user for Expected Output only. As it is a function problem, hence a user should not read any input from stdin/console. The task is to complete only the function specified, and not to write the full code.
Input: First line of input contains a single integer T, which denotes the number of test cases. Then T test cases follows. Each test case consists of a single line which contains a single integer A.
Output: Corresponding to each test case, print in a new line the updated value of A.