First Round (1:30 hr)-
It consist of two sections
:- Mcq (20 questions)
:- Two coding questions
Given two string Str1 and Str2, Find whether any anagram of Str2 is a sub-string of string Str1 (Case Insensitive) then return True otherwise False.
Test case :if Str1 = Amazon and Str2 = omaz, Output: True
2) Given n non-negative integers representing buildings where the width of each bar is 1, compute how much water it is able to trap after raining
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6.
I solved 19 mcq and both coding questions.