Intel | August 2020 | Intern | Bangalore
  1. Given a string of a mathematical notation. I have to give the maximum depth of the parenthesis as output
    Example: I/P: (a+b*(c+(d+e)+f)) O/P: 3
    You have to take care of the cases that string must be balanced and valid.
  2. You have 1000 candidates appearing in an exam with maximum score 100 and minimum score 0. How will you calculate percentile of each candidate.
Comments (0)