Backend Software Engineer Interview Questions

15,486 backend software 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.

The exercise of technical interview seemed invented 2 min after interview started. Two interviewers have jumped in without preparing anything. Finally after a wee pause the one of them asked me to provide Scala implementation of a list. When I asked to precise what kind of list he meant, his answer was - immutable linked list.
avatar

Senior Backend Developer

Interviewed at Ledger

3.9
Nov 14, 2018

The exercise of technical interview seemed invented 2 min after interview started. Two interviewers have jumped in without preparing anything. Finally after a wee pause the one of them asked me to provide Scala implementation of a list. When I asked to precise what kind of list he meant, his answer was - immutable linked list.

Viewing 891 - 900 interview questions

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