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
Software Development Engineer Interview Questions
33,184 software development engineer interview questions shared by candidates
Write a function to determain if a string is Palindrome?
find word in grid
Flood-fill game. Given a 2D screen, location of a pixel in the screen and a color, replace color of the given pixel and all adjacent same colored pixels with the given color. Input is a 2D matrix, xth and yth of the pixel and the target color. The output should be the 2D matrix after this flood fill game.
There are several patients with some boolean type attributes. how to present them in a data structure or in a table? follow up: there are nearly 1000 attributes, most of every patient's attributes value are false, only 4 to 5 are true, how to reduce the table space?
Leetcode questions, data structures (trees, graphs, arrays, strings), algorithms. Personality questions based on principles.
There were many questions like"tell us about a hard problem you had to solve" and "did you ever do anything risky" and "did your boss ever ask you to do something that you didn't agree with"
1 algorithm problems about string, and 1 follow up.
How to come out of forEach loop in javaScript.
Write a program to reverse the words in a sentence. "Sky is blue" would be "blue is sky". Write test cases for this program
Viewing 681 - 690 interview questions