string to int and add them
Senior Engineer Interview Questions
101,768 senior engineer interview questions shared by candidates
Please read about us
How will you prevent the code in finally block from executing? The question isn't a very fair one as a good programmer would not write the code in finally block that he/she doesn't want to execute
Without using length and size function how could you get the 2nd last variable in an array of integers?
The interview questions were based on various topics ( all that I had on my resume), however on each of the question, the main focus was on problem handling, reaction and solution (even though you are not able to hit the right solution, please speak up with your ideas. In my case, I did and the interviewers did help me move forward). The interviewers were cordial and made sure I was comfortable and could think in a calm manner. The emphasis was more on problem solving and thinking in the right direction ( rather than language or specifics of a code). For example - 1) Design a web based application ( emphasis was on load balancing, failures etc). 2) Construct your own linked list
Given 2 strings find the common words along with the time and space complexity. How would you optimize the algorithm
Nothing difficult. The unexpected is that they give you a fake business scenario and then you had to write up you recommendation for the business. Later in the day at one of your interview sessions they ask you for a printout of your recommendations. The instructions in the morning weren't very clear and there were printer issues so many of us messed up on that part.
"Given a log file spanning multiple days, and given a page transition A -> B -> C, find all the unique users who made this page transition in the logs"
Write a function/method with this signature: bool MyFunc(string term, string input) {} The method should return true if the search term is found in the input string, even when there are other characters in between. Examples: "aba", "bbbbabbxxxxxxbb" returns false "aba", "bbbbabbxxxxxxab" returns true Basically, do I see an 'a', then 'b', then another 'a' before I run off the end of the input string?
Write a function that determines the divisors of an supplied parameter and which of those are prime numbers.
Viewing 241 - 250 interview questions