|All-time Popular Problems|
|Find duplicates in an array|
|Triplet Sum in Array|
|Sorting Elements of an Array by Frequency|
|Search an Element in an array|
|Diameter of Binary Tree|
|Maximum of all subarrays of size k|
|Leaders in an array|
|Find median in a stream|
|Reverse a Linked List in groups of given size.|
Write a program to display the floating number with a given precision value.
The first line of input contains integer T denoting the number of test cases. For each test case, we take two inputs, one floating number a and an integer b for the precision of that floating number.
For each test case we get a single line output i.e the floating number with given precision.