Tip 1 : Solve as many question as you can
Tip 2 : Be confident about your skills
Tip 3 : Revise all concepts before interview
Tip 1 : confident about skills mentioned on resume
Tip 2 : Keep your resume short and clear.
online coding round consisting of 2 coding questions



Infix notation is a method of writing mathematical expressions in which operators are placed between operands.
For example, "3 + 4" represents the addition of 3 and 4.
Postfix notation is a method of writing mathematical expressions in which operators are placed after the operands.
For example, "3 4 +" represents the addition of 3 and 4.
Expression contains digits, lower case English letters, ‘(’, ‘)’, ‘+’, ‘-’, ‘*’, ‘/’, ‘^’.
Input: exp = ‘3+4*8’
Output: 348*+
Explanation:
Here multiplication is performed first and then the addition operation. Hence postfix expression is 3 4 8 * +.
I used stack to solve it, then coded it up




Let’s say you have a grid [[1,0],[1,1]]. We can say the computer ‘ARR[0][0]’ is a connected computer because there is a computer in its column other than itself. We can say the computer ‘arr[1][0]’ is a connected computer because there is a computer in its row and column other than itself. We can say the computer ‘arr[1][1]’ is a connected computer because there is a computer in its row other than itself. Therefore the number of connected computers is 3.
I have dfs to solve it, maintain visited array,
run a dfs, whenever it break count the components
In this round, 2 interviewers were present. They shared Docs in which we had to write code. Our camera was on.



Input: 'arr' = [2, 2, 2, 2, 0, 0, 1, 0]
Output: Final 'arr' = [0, 0, 0, 1, 2, 2, 2, 2]
Explanation: The array is sorted in increasing order.
I had solved this problem earlier so I knew 3 approaches to this problem. But as suggested I did not jump to best solution in the first go and acted like I am trying then and there only.
Approach 1 : I told I will use sort STL that will do my work.
Approach 2 : I wrote the code for bubble sort.
Then he asked as can I come up with even better solution then I did this
Approach 3 : I counted the zeros ones and twos and then printed them.
he was satisfied with the solutions and moved on.



Input Format
The first line of input contains an integer N, representing the total number of denominations.
The second line of input contains N integers values separated by a single space. Each of the integer value represents the denomination value.
The third line of input contains the value of V, representing the value for which the change needs to be generated.
Output Format:
The only line of output prints the total number of ways W, in which a change for V is possible.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?