After asking the details of my current role, he only gave me a simple coding question. Write a function using C++ or Java that is passed an integer and it returns the number of bits set to 1. Is there a way to improve your solution and make it faster and more efficient?
Sr Engineer Interview Questions
113,895 sr engineer interview questions shared by candidates
1.Tell me about yourself? 2.The asked about which framework you used? about that. 3.Selenium-about locators, selenium wait and usage 4.Basic Java Q? Difference between HashMap and HashSet, Abstract and Interface, What is Final? What is Encapsulation? 5.What is Instance Variable, method and object? 6.Java program to count and print repeated character in a string? String would be Your Name. 7.Cucumber-About Gherkins, Background, Scenario Outline, Reporting, How Feature file and stepDefinition file are linked etc. 8.About API Automation?
1st phonescreen: 1) background 2) algorithmic question which i dont remember but it was average difficulty level 3) Pagination in java - Given an implemented method getFeed(userId, StartTimeStamp, EndTimeTimeStamp) which returns a List<Feed>, right an API to return feeds to a mobile client. Design the API from scratch
given map entries (a,1)(b, 2)(c12, 3). Resolve {c{a}{b}} => 3
string to int and add them
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
void sort(String s){ } void sort(Integer I){ } void sort(Object o){ } calling : sort(null) which function will be called?
Viewing 261 - 270 interview questions