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]
Backend Software Engineer Interview Questions
9,108 backend software engineer interview questions shared by candidates
Round 1 Largest Number Round 2 Minimum No of Platforms Required
Data structures and Algorithms related questions and java related questions.
q1) given two numbers represented as linked lists, each digit is a node in the list. find the difference between the numbers. q2) design database schema for slipwise app.
Golang program which accept input from console and produce result without using loop.
Solve three challenges.
Design a continuous integration system.
Some oop question - design patterns like abstract, factory etc.
All questions asked were resume based.
Past Experience and .net skills
Viewing 8271 - 8280 interview questions
See Interview Questions for Similar Jobs
Backend SoftwareBackend EngineerBackend DeveloperReact Js DeveloperSenior Backend EngineerDatabase Software EngineerGolang DeveloperBack End DeveloperFrontend Software EngineerSpring DeveloperSoftware ProgrammerFront End Software EngineerJava DevelopersPhp Developer ProgrammerSoftware Engineer Web DeveloperSenior Php DeveloperSenior Full Stack EngineerJava J2ee Web Developer