Backend Software Engineer Interview Questions

15,493 backend software engineer interview questions shared by candidates

90 mins. A spring boot hackerrank question. As soon as you log into the hackerrank test. You will get a GitHub URL. You can copy the URL and clone the repository in your local. You have to work on your local machine and keep pushing your commits to the repository. All the necessary POJOs, service implementation, and databases are in place I was asked to implement the following questions: 1. Implement a GET /hotel/{id} to retrieve a hotel by Id 2. Implement a DELETE /hotel/{id} to delete a hotel by Id. (It should not be actually deleted from the system but should be marked as 'deleted') 3. Search all the hotels closest to the city center. /search/{cityId}. The city object has latitude and longitude and the hotel object also has latitude and longitude. The distance between two can be calculated using the haversine formula, (The question says we can use the internet to calculate the haversine formula)
avatar

Software Engineer, Backend

Interviewed at Booking.com

4
Jul 23, 2021

90 mins. A spring boot hackerrank question. As soon as you log into the hackerrank test. You will get a GitHub URL. You can copy the URL and clone the repository in your local. You have to work on your local machine and keep pushing your commits to the repository. All the necessary POJOs, service implementation, and databases are in place I was asked to implement the following questions: 1. Implement a GET /hotel/{id} to retrieve a hotel by Id 2. Implement a DELETE /hotel/{id} to delete a hotel by Id. (It should not be actually deleted from the system but should be marked as 'deleted') 3. Search all the hotels closest to the city center. /search/{cityId}. The city object has latitude and longitude and the hotel object also has latitude and longitude. The distance between two can be calculated using the haversine formula, (The question says we can use the internet to calculate the haversine formula)

1. Print all the interleavings between given two strings of length m,n without changing the relative of order of each string. Eg: if str1 = 'AB', m=n, str2 = 'CD', n=2 Then output should be all the interleavings. output: abcd acbd acdb cabd cadb cdab i.e 6 possibilities
avatar

Backend Engineer

Interviewed at Directi

4
Jul 1, 2016

1. Print all the interleavings between given two strings of length m,n without changing the relative of order of each string. Eg: if str1 = 'AB', m=n, str2 = 'CD', n=2 Then output should be all the interleavings. output: abcd acbd acdb cabd cadb cdab i.e 6 possibilities

Viewing 1331 - 1340 interview questions

Glassdoor has 15,493 interview questions and reports from Backend software engineer interviews. Prepare for your interview. Get hired. Love your job.