Tip 1 : Prepare C++ basics thoroughly
Tip 2 : Multithreading concepts
Tip 3 : OOPs implementation with coding examples
Tip 1 : Clear project explanation point wise
Tip 2 : Don't include hobbies and webinar certification
Easy aptitude but less timings. Pictorial questions were asked. 2 questions from basic DSA


The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:

You don't need to print anything. It has already been taken care of. Just implement the given function.



In the given linked list, there is a cycle, hence we return true.

Coding round


Subsequences of string "abc" are: ""(empty string), a, b, c, ab, bc, ac, abc.
Dynamic programming too down approach



‘S’ = “aabcd”, ‘M’ = 2, ‘A’ = [0, 1]
After 1st operation i.e, reversing from [0, 4], ‘S’ = “dcbaa”.
After 2nd operation i.e, reversing from [1, 3], ‘S’ = “dabca”.
Hence, the answer is “dabca”.
2 coding questions were asked.



Conditions for valid parentheses:
1. All open brackets must be closed by the closing brackets.
2. Open brackets must be closed in the correct order.
()()()() is a valid parentheses.
)()()( is not a valid parentheses.
Stack approach for valid parenthesis and recursion for generate parenthesis




Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?