Round 1 : Online round on hackerrank
- 4 Questions (50+100+100+150)
- 2 hours
Question 1: [Easy – 50]
There are books in a shelf, Either type of X or Y, Your mom wants to make sure before your birthday party, shelf is arranged. All the X type of books should be on left, and all the books of type Y should be on right. There is a time cost associated with each swap, output if it is possible to arrange them before the party starts.
Question 2: [Medium – 100]
You have been given A and B in range. Find the product of all numbers in the range.
1<=A<=100,000 and A<=B<=100,000
You need to return the answer as a string in the form of, “C x 10^D”
If C has more than 10 digits, then output C as 12345…12345 x 10^D
49 x 10^0
355687…28096 x 10^3
Question 3: [Medium – 100]
You have been given an array, which represents height of light towers. For every tower, it’s range is (A*B % 1000000007) where :
A = (Buildings visible on left side + Buildings visible on right side)
B = position of light tower in the array (1…N) [1 based indexing]
You have to return the position of lighthouse which has maximum range. If two have same range, return the one with minimum B (leftmost).
Question 4: [Medium – 150]
- Gameskraft Technologies Interview Experience | (On Campus for FTE)
- MathWorks Interview Experience (EDG, Oncampus)
- ServiceNow Interview Experience Oncampus
- UHG Interview Experience | OnCampus- 2019
- InfoEdge Interview Experience | OnCampus-2019
- Sophos Technologies Interview Experience | SDE Profile | On Campus
- Microsoft-IDC Interview Experience-SDE profile (on-campus for FTE)
- Microsoft Interview Experience (FTE SDE 2020- On Campus)
- Amazon Interview Experience for SDE-1 FTE/6 Months Internship – AmazeWow
- Amazon Interview Experience for FTE/6 months SDE-1 Internship - AmazeWow
- Amazon Interview Experience | 2020 On-Campus for SDE-1 FTE
- Tekion Interview Experience for SDE FTE with Internship 2020 (On campus )
- Amazon Interview Experience for FTE SDE Internship (AmazeWoW)
- UBS Interview Experience for SDE FTE+Internship | On-Campus VIT 2020
- BlackBuck Interview Experience | On-Campus for SDE FTE
- 1mg Interview Experience for SDE FTE | 1.3 Years Experienced
- Amazon SDE-1 FTE/6 Months Internship Experience - AmazeWow 2021
- Paxcel Technologies Interview Experience
- Paxcel Technologies Interview Experience | Set 2
- Interview Experience at Compro Technologies, Delhi
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.