# Boomerang Interview Experience | Set 1 (For SDE position)

• Last Updated : 26 Dec, 2015

Round 1:

Writing code for the below questions in 45 mins(standard same question in boomerang)
1. Given a boolean matrix A. Modify the matrix such that if A[i,j]=1 make ith row & jth column as 1.
2. Code to check if a tree is BST or not
3. Write a program to find number of words in a file not using any standard tokenizing API’s.

Hey geek! It's time to become a success story instead of reading them. Check out our most renowned DSA Self Paced Course, now at a student-friendly price and become industry ready. And if you are looking for a more complete interview preparation resource, check out Complete Interview Preparation Course that will prepare you for the SDE role of your dreams!

Feeling prepared enough for your interview? Test your skills with our Test Series that will help you prepare for top companies like Amazon, Microsoft, TCS, Wipro, Google and many more!

Round 2:
1. Stream of numbers are flowing in and given a window of size w. Give the minimum number of the current window. Optimize to get answer in O(n) time if n is so far size of input stream.

2. Given n, you will be getting stream of sets each set may contain like (1,3,4,5) which signifies that 1,3,4,5 are related. Similarly you may get like (6,7) , (1,8).
And you will be asked to find whether 1 & 4 are related => Yes (as they are from same set).
3 & 8 are related => yes as 8 & 3 are related through 1.
5 & 7 are related =>No

Round 3:
1. Design question on DB for maintaining e-commerce various cat,sub cat,sub sub cat
2. Given various bus schedule arrival and departure (Ai,Di). Find the minimum number of platforms needed at any point of time.

Round 4 (Machine Round) (standard same question in boomerang)
You will be given access to a test machine in aws. You are asked to setup below
1. Install erlang
2. Use any web framework to expose an URL to outside world to print Hello World
3. Use any DB of ur choice and store a sample string X
4. Expose another URL which when accessed on a browser shows “Hello world \$X”

If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

My Personal Notes arrow_drop_up