Write a program to find out the median of two sorted array.
Software Development Engineer I Interview Questions
32,841 software development engineer i interview questions shared by candidates
In employee table there is a self reference to boss (who is also an employee). How to find the number of people that work under a given person for his entire tree.
1. Implement stack using queue 2. Merge two arrays and sort them in order as specified at runtime. The two arrays may share common entries between them, but the resultant array must not have duplicates.
Reverse words in a String
Convert string to number. "123" to 123
Combination Problem: Write a method that finds all the unique unsorted combinations of a unknown element list without using any loops.
Program in ide: Input - wwwaabbc Output - w3a2b2c1
I was asked a couple coding questions, a couple design problems on concurrency and scalability, but most of my interviews were discussions about past projects and experiences.
The first question he gave to me, design a cab booking system (he just want a brief about how I'm going to define my entities) Use cases: 1. user can book a ride. 2. user can store favorite locations 3. user can view past bookings 4. new drivers can sign up 5. driver can view past bookings The next question was given an integer N and D I had to add the smallest possible number in N so that N doesn't contain the digit D. Test case1 : N = 100 , D=0, output = 11 Test case2 : N = 5925, D=9, output = 75
Find the largest sub string having distinct characters?
Viewing 761 - 770 interview questions