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.
Backend Software Interview Questions
15,469 backend software interview questions shared by candidates
Importance of unit and integration testing
You receive 50,000 products in a GET API request body. Will you accept it?
2. Second Level round has a real world problem about creating a web api to fetch some data from other api and the followup questions around that on handling the rate-limiting,
//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 */
Prod ready code to find nth smallest element in an array(unsorted) Mirror binary tree at odd levels, Print matrix in spiral order
Code review a provided implementation of a Stack
really simple ordering and sum price in static data structure
How would you handle a friend in the office that keeps making mistakes that can impact the company and doesn't listen to your corrections?
They asked me to write and explain the logic for printing a matrix in spiral order (spiral matrix traversal).
Viewing 871 - 880 interview questions