Backend Engineer Interview Questions

15,466 backend engineer interview questions shared by candidates

Design splitwise application Input You can create a few users in your main method. No need to take it as input. There will be 3 types of input: Expense in the format: EXPENSE <user-id-of-person-who-paid> <no-of-users> <space-separated-list-of-users> <EQUAL/EXACT> <space-separated-values-in-case-of-non-equal> Show balances for all: SHOW Show balances for a single user: SHOW <user-id> Output When asked to show balance for a single user. Show all the balances that user is part of: Format: <user-id-of-x> owes <user-id-of-y>: <amount> If there are no balances for the input, print No balances In cases where the user for which balance was asked for, owes money, they’ll be x. They’ll be y otherwise.
avatar

SDE-2 Backend

Interviewed at Swiggy

3.6
Jan 18, 2021

Design splitwise application Input You can create a few users in your main method. No need to take it as input. There will be 3 types of input: Expense in the format: EXPENSE <user-id-of-person-who-paid> <no-of-users> <space-separated-list-of-users> <EQUAL/EXACT> <space-separated-values-in-case-of-non-equal> Show balances for all: SHOW Show balances for a single user: SHOW <user-id> Output When asked to show balance for a single user. Show all the balances that user is part of: Format: <user-id-of-x> owes <user-id-of-y>: <amount> If there are no balances for the input, print No balances In cases where the user for which balance was asked for, owes money, they’ll be x. They’ll be y otherwise.

//DELOITTE INTERVIEW QUESTION 2 //Split substring so no letter occurs more than once in each substring //Return the min num of substrings into which the string has to be split /* 1.Must always be true:no letter occurs more than once in each substring 2.Event forcing a boundary: Appearance of a letter more than once in a substring (a.k.a. duplicate detected) 3.Data Structure that tracks the constraint : Set */
avatar

Junior Backend Developer

Interviewed at Deloitte

3.8
Mar 16, 2026

//DELOITTE INTERVIEW QUESTION 2 //Split substring so no letter occurs more than once in each substring //Return the min num of substrings into which the string has to be split /* 1.Must always be true:no letter occurs more than once in each substring 2.Event forcing a boundary: Appearance of a letter more than once in a substring (a.k.a. duplicate detected) 3.Data Structure that tracks the constraint : Set */

Viewing 871 - 880 interview questions

See Interview Questions for Similar Jobs

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