Senior Software Interview Questions

75,502 senior software interview questions shared by candidates

Given an n x n grid, find the number of ways to get from the bottom left to the top right given that you can only move up or right each time and you cannot move to any node on the bottom diagonal half of the grid, i.e. row less than col.
avatar

Senior Software Engineer

Interviewed at OfferUp

2.9
Mar 21, 2016

Given an n x n grid, find the number of ways to get from the bottom left to the top right given that you can only move up or right each time and you cannot move to any node on the bottom diagonal half of the grid, i.e. row less than col.

Give an API: int read4(char *buf) which reads 4 characters at a time from a file. The return value is the actual number of characters read. For example, it returns 3 if there is only 3 characters left in the file. By using the read4 API, implement the function int read(char *buf, int n) that reads n characters from the file.
avatar

Senior Software Engineer

Interviewed at iStreamPlanet

3.5
Mar 8, 2018

Give an API: int read4(char *buf) which reads 4 characters at a time from a file. The return value is the actual number of characters read. For example, it returns 3 if there is only 3 characters left in the file. By using the read4 API, implement the function int read(char *buf, int n) that reads n characters from the file.

1. Implement LinkedHashMap , how does it ensure O(1) for a get call. 2. Sort employee list , sorting can be applied on name,salary that will be decided on runtime. So we need to implement multiple comparators and pass the same to Collections.sort(list,new ComparatorName()). 3. In the above list make sure there is no duplicates, if fname and lname are same, they are duplicates.
avatar

Senior Software Engineer

Interviewed at Ezetap

4.2
Mar 22, 2019

1. Implement LinkedHashMap , how does it ensure O(1) for a get call. 2. Sort employee list , sorting can be applied on name,salary that will be decided on runtime. So we need to implement multiple comparators and pass the same to Collections.sort(list,new ComparatorName()). 3. In the above list make sure there is no duplicates, if fname and lname are same, they are duplicates.

I was given a code to review. I have fixed bugs in their code, made it work, and put detailed comments to all modified lines of code plus detailed comments outside of the code describing what was done and why. The answer was that their student could not understand the comments. Hm, I guess the student should be taught better and I didn't apply for a teacher position. They refused to give me detailed answer, but after all I wasn't sure I wanted it. What a company where students decide whether to hire seniors. After some thinking I've concluded that I was simply used as a free independent code reviewer. If you are experienced developer, avoid these guys, they will pretend they are hiring you, but in fact will just use you. If you are freshly graduated, lazy and not knowledgeable, you can go there, they will teach you how to illegally make others do your job for you.
avatar

Senior Software Developer

Interviewed at Roadmunk

3.6
Apr 12, 2018

I was given a code to review. I have fixed bugs in their code, made it work, and put detailed comments to all modified lines of code plus detailed comments outside of the code describing what was done and why. The answer was that their student could not understand the comments. Hm, I guess the student should be taught better and I didn't apply for a teacher position. They refused to give me detailed answer, but after all I wasn't sure I wanted it. What a company where students decide whether to hire seniors. After some thinking I've concluded that I was simply used as a free independent code reviewer. If you are experienced developer, avoid these guys, they will pretend they are hiring you, but in fact will just use you. If you are freshly graduated, lazy and not knowledgeable, you can go there, they will teach you how to illegally make others do your job for you.

Viewing 271 - 280 interview questions

Glassdoor has 75,502 interview questions and reports from Senior software interviews. Prepare for your interview. Get hired. Love your job.