Software Senior Interview Questions

75,595 software senior interview questions shared by candidates

Round 1 Q1 Given a log file with list of tuples(TIMESTAMP, USER, PAGE_TYPE) where page type being the page visited. Form sequence of pages the user had visited and then find the most common sequence. The question was later changed to form triplets of sequences. e.g if the sequence is A->B->C->D->E->F, the triplet sequences would be A B C B C D D E F and then find the most common sequence.
avatar

Senior Software Engineer

Interviewed at Pinterest

3.6
Mar 1, 2016

Round 1 Q1 Given a log file with list of tuples(TIMESTAMP, USER, PAGE_TYPE) where page type being the page visited. Form sequence of pages the user had visited and then find the most common sequence. The question was later changed to form triplets of sequences. e.g if the sequence is A->B->C->D->E->F, the triplet sequences would be A B C B C D D E F and then find the most common sequence.

1. Class A has variable a, Class B extends from A which has b, Class C extends from Class B which has c. Set values for those variables. Write a clone method which returns a deep copy. For example ClassA a = new ClassC(5); which will print 5,4,3 set by constructors in those classes. ClassA x = a.myClone(); x.print() should also print 5,4,3.
avatar

Senior Software Engineer

Interviewed at Anaplan

3.6
Nov 18, 2016

1. Class A has variable a, Class B extends from A which has b, Class C extends from Class B which has c. Set values for those variables. Write a clone method which returns a deep copy. For example ClassA a = new ClassC(5); which will print 5,4,3 set by constructors in those classes. ClassA x = a.myClone(); x.print() should also print 5,4,3.

Viewing 861 - 870 interview questions

Glassdoor has 75,595 interview questions and reports from Software senior interviews. Prepare for your interview. Get hired. Love your job.