Software Development Engineer I Interview Questions

1,214 software development engineer i interview questions shared by candidates

Your program must accept two filenames as command-line parameters. These files will contain 7-bit ASCII text, and each line may consist of an IP address, followed by a colon, followed by a comma-separated list of numbers. The two files should be joined on IP address and the numbers from each file should be appended and returned, sorted and without duplicates. The results should be written to stdout as the IP address followed by a colon, followed by a comma separated list of the numbers. For example, file1: 1.2.3.4: 1,3,4 1.2.3.5: 9,8,7,6 And file2: 1.2.3.4: 4,5,6 1.2.3.6: 1,1,1 Your program should print: 1.2.3.4: 1,3,4,5,6 1.2.3.5: 6,7,8,9 1.2.3.6: 1 Your program should handle errors, including malformed input, appropriately and should be of a sufficient quality that it can run on a production Linux system.
avatar

Software Development Engineer I

Interviewed at Amazon

3.5
Oct 19, 2014

Your program must accept two filenames as command-line parameters. These files will contain 7-bit ASCII text, and each line may consist of an IP address, followed by a colon, followed by a comma-separated list of numbers. The two files should be joined on IP address and the numbers from each file should be appended and returned, sorted and without duplicates. The results should be written to stdout as the IP address followed by a colon, followed by a comma separated list of the numbers. For example, file1: 1.2.3.4: 1,3,4 1.2.3.5: 9,8,7,6 And file2: 1.2.3.4: 4,5,6 1.2.3.6: 1,1,1 Your program should print: 1.2.3.4: 1,3,4,5,6 1.2.3.5: 6,7,8,9 1.2.3.6: 1 Your program should handle errors, including malformed input, appropriately and should be of a sufficient quality that it can run on a production Linux system.

Due to NDA I don't think I can share the details of the question, but the most challenging and interesting question involved an algorithm over a grid of data. The problem itself was challenging, and had a lot of area to explore optimization and good programming practices.
avatar

Software Development Engineer I

Interviewed at Amazon

3.5
Nov 18, 2014

Due to NDA I don't think I can share the details of the question, but the most challenging and interesting question involved an algorithm over a grid of data. The problem itself was challenging, and had a lot of area to explore optimization and good programming practices.

Viewing 401 - 410 interview questions

Glassdoor has 1,214 interview questions and reports from Software development engineer i interviews. Prepare for your interview. Get hired. Love your job.