Backend Developer Interview Questions

15,491 backend developer interview questions shared by candidates

4 questions 1. First index where the sum is greater than the target. Sum starting from the 0th index and index at which sum is greater than or equal to target. 2. Give two strings, sum values by their index from last and append the result. Ex - "99" + "12" = 1011, "99" + "1" = "910", "99" + "99" = "1818" 3. Inventory management, three commands - "supply", "sell", "return". For each sell queries return the bill size. Strategy for selling an item - lowest price. 4. Destroy houses. Given the order of the house destroyed return number of segments. houses - 1 2 3 6 7 9 destroy - 6 7 3 9 2 1 output - 3 2 2 1 1 1
avatar

Backend Engineer

Interviewed at PayPay

3.4
Oct 5, 2024

4 questions 1. First index where the sum is greater than the target. Sum starting from the 0th index and index at which sum is greater than or equal to target. 2. Give two strings, sum values by their index from last and append the result. Ex - "99" + "12" = 1011, "99" + "1" = "910", "99" + "99" = "1818" 3. Inventory management, three commands - "supply", "sell", "return". For each sell queries return the bill size. Strategy for selling an item - lowest price. 4. Destroy houses. Given the order of the house destroyed return number of segments. houses - 1 2 3 6 7 9 destroy - 6 7 3 9 2 1 output - 3 2 2 1 1 1

Viewing 1491 - 1500 interview questions

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