Software Engineer Backend Interview Questions

2,350 software engineer backend interview questions shared by candidates

There are N soldiers standing in a line. Each soldier is assigned a ranking value. You are giving medals to these soldiers subjected to the following requirements: 1) Each soldier must have at least one medal. 2) Soldiers with a higher ranking get more medals than their neighbors. What is the minimum medals you must give? Input 1: 1 0 2 Output 1: [2, 1, 2] Input 2: 1 2 2 Output 2: [1,2,1] Input 3: 1 2 4 5 5 5 4 3 2 1 Output 3: [1,2,3,4,1,5,4,3,2,1]
avatar

Software Engineer, Backend

Interviewed at Tracxn

2.7
Aug 9, 2019

There are N soldiers standing in a line. Each soldier is assigned a ranking value. You are giving medals to these soldiers subjected to the following requirements: 1) Each soldier must have at least one medal. 2) Soldiers with a higher ranking get more medals than their neighbors. What is the minimum medals you must give? Input 1: 1 0 2 Output 1: [2, 1, 2] Input 2: 1 2 2 Output 2: [1,2,1] Input 3: 1 2 4 5 5 5 4 3 2 1 Output 3: [1,2,3,4,1,5,4,3,2,1]

1. Check if given sequence of moves for a robot is circular or not. Robot can move in 4 direction in a 2-D coordinate system. 2. Design 4 in a line game. Task was to design the backend only. 3. Take home project asked me to design and implement a chat server to support individual msgs in real time and chat rooms.
avatar

Senior Software Developer - Backend

Interviewed at SMART Technologies

3.9
Sep 4, 2022

1. Check if given sequence of moves for a robot is circular or not. Robot can move in 4 direction in a 2-D coordinate system. 2. Design 4 in a line game. Task was to design the backend only. 3. Take home project asked me to design and implement a chat server to support individual msgs in real time and chat rooms.

1. How would you handle performance bottlenecks in a web application? 2. General understanding of Agile principles. 3. Choice of technology in solving a problem. 4. Assignment: Consider an online system that accepts a document both via the web UI and a REST endpoint. This document is recognized by an OCR service and is further classified using another service. Build a high level architecture for this system.
avatar

Senior Software Engineer - Backend

Interviewed at Architrave

4.4
Oct 14, 2019

1. How would you handle performance bottlenecks in a web application? 2. General understanding of Agile principles. 3. Choice of technology in solving a problem. 4. Assignment: Consider an online system that accepts a document both via the web UI and a REST endpoint. This document is recognized by an OCR service and is further classified using another service. Build a high level architecture for this system.

Viewing 2111 - 2120 interview questions

Glassdoor has 2,350 interview questions and reports from Software engineer backend interviews. Prepare for your interview. Get hired. Love your job.