Tip 1 : Practice at least 250 Questions
Tip 2 : Do at least 2 projects
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.
MCQ’s (Aptitude ,Operating System ,DBMS, DSA, Python)
No. of MCQ's - 40



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.
firstly i have applied two loops for solving this problem but then i have optimized the problem with in o(n)



There is only one space between the values of each column in a row.
For example, Pattern for ‘N’ = 5 will be.
1 2 3 4 5
11 12 13 14 15
21 22 23 24 25
16 17 18 19 20
6 7 8 9 10
logic for printing pattern i have applied then optimized my code when interviewer told me to optimize it

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?