Monday, March 30, 2020

Shopee Interview Questions Asked For SDE-1

They mostly asked simple questions but please don't skip OS and Networking Questions. They say that in 1st round of interviews they ask only 2 coding questions but that's not true. It depends on the Interviewer. They asked to me 1 Algorithm and 4 Networking Question. 

1.) Find Preorder traversal From given Infix and Postfix expression. (Write Code)

Ans: First Construct Binary Tree Then find PreOrder.(Brute Force) Recommend Don't use this approach.

First, find the root of the tree by using the Prefix array and then find that in Infix.(By using Prefix Array we can find out Root of tree) 

 
2.) Difference Between HTTP and HTTPS protocol?

3.) Why HTTPS Protocol Is More Secure?

4.) What is SSL?

5.) If multiple threads access a single variable then how you will control the rest condition?

6.) What is Hash Function? 

   

No comments:

Post a Comment