Round 1:
1>https://leetcode.com/problems/search-in-rotated-sorted-array/
Explained him binary search approach but it failed for few testcases he tried. He gave some hints but even after those the code failed.
2>https://leetcode.com/problems/swap-nodes-in-pairs/
Able to solve completly.
3>https://leetcode.com/problems/longest-valid-parentheses/
Only asked for approach.
Round 2:
1>https://leetcode.com/problems/longest-substring-without-repeating-characters/
2>https://leetcode.com/problems/group-anagrams/
Was able to code both of them completely.
Round 3:
1>https://leetcode.com/problems/climbing-stairs/
2>https://leetcode.com/problems/lru-cache/
Was able to code both of them completely
Round 4:(Managerial)
Asked me general introduction
1> Given String
"Raj is 2{a good 3{boy}}"
Answer String: Raj is a good boy boy boy a good boy boy boy
I explained him stack based approach. He asked me to implement , implemented it but was unable to complete in given time.
HR approached me again and told me she has setup an interview with another manager as mine other 3 rounds had positive feedback.
Round 4:(Managerial)
Asked me to introduce myself and explain my present working items and techonoligies I use.
Post that asked me to write a sql query
Employee(Name,Gender,Age)
Given Employee table get rows sorted by Gender->Age->Name.
was less in touch with sql so was unable to write query.
Post that Asked equals and "==" difference.
My strength and weakness.
Any questions for him.
Got rejection mail.