Software Engineer 2 Interview Questions

665,793 software engineer 2 interview questions shared by candidates

How would you triage and go about fixing infrastructure problems? Giving an input file, get the number of lines matching a specific piece of text using bash scripting. Give the percentage of lines in the file that match that string.
avatar

Systems Engineer/Python Developer

Interviewed at Hudson River Trading

4.2
Jun 25, 2015

How would you triage and go about fixing infrastructure problems? Giving an input file, get the number of lines matching a specific piece of text using bash scripting. Give the percentage of lines in the file that match that string.

1) I have class hierarchy and should create array of different instances of this hierarchy. They asked me to write a function which iterates this array and executes different methods according to the instance class. I suggested that downcasting is a bad idea and that it can violate Liskov substitution rule of the SOLID principles, and this problem should be solved using collections and generics, but they did not accept this answer 2) Create Queue N size using only N size array. 3) some Java concurrency related questions: synchronized volatile, atomic, etc....
avatar

Senior Software Engineer

Interviewed at Taboola

4.2
Dec 6, 2015

1) I have class hierarchy and should create array of different instances of this hierarchy. They asked me to write a function which iterates this array and executes different methods according to the instance class. I suggested that downcasting is a bad idea and that it can violate Liskov substitution rule of the SOLID principles, and this problem should be solved using collections and generics, but they did not accept this answer 2) Create Queue N size using only N size array. 3) some Java concurrency related questions: synchronized volatile, atomic, etc....

Viewing 1781 - 1790 interview questions

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