Given a file consisting of passenger details and the seating layout of a train assign berths(seats) and coach to the passenger by following certain criteria: i. People above the age of 60 should get priority in getting a seat. ii. People above the age of 60 should only get a lower berth.
Software Development Intern Interview Questions
2,990 software development intern interview questions shared by candidates
Total paths in a 2d grid
Search element in 2-D matrix
Data structures and standard leetcode questions were asked.
I was asked to design a program to read class attributes in a java file. This was a question I did not expect.
Design an algorithm for creating a puzzle.
None were too difficult or unexpected. One I hadn't seen before was give all the test cases for a function which accepts a rectangle and a line and tests to see if any point of the line is inside the rectangle
Can't disclose. But have a good idea of how the ASCII table is organized. Understand malloc's internals.
Given any number break it down into a multiplication of all prime numbers ie 8 => 2 x 2 x 2. Shift an array by x spots in place. Design and test a file backup system.
What's the most number of lines of code you've written in one project?
Viewing 1991 - 2000 interview questions