Varied behavioral questions. Technical focused on oops concepts(explain 4 pillars of OOP with examples). Was asked to write code to print the largest number in an unsorted integer array of infinite size. Although the position was for C#, they were cool about me coding in java.
Engineer Software Interview Questions
512,124 engineer software interview questions shared by candidates
if p1 and p2 are two consecutive prime number, in which cases (p1 + p2) / 2 is a prime number.
Define Yourself
There are 4 people who want to cross a bridge. They each take 1, 2, 5 and 8 minutes. Only 2 people can cross at a time and they take as long as the slowest person. What is the fastest time you can get everyone across? Then I was asked to write the mathematical equation to determine the trade-off point between each of the 2 approaches to solving this.
Probability of a knight making a valid move on NxN matrix in m steps.
Given a string of format '2+3*2-1', calculate and return the result. No parenthesis in the input, just integers and + - * / operators. Operator precedence has to be considered. Linear time complexity and minimal data structure use is preferred.
Given a triangle, determine if its a scalene, equilateral, isosceles or neither... required knowledge of triangle properties, I learnt these properties about two decades ago so ofcourse I was fuzzy on the details, completely unexpected
What is a class?
Given an unfair coin, devise an algorithm to produce a fair coin's output.
Find count of unique characters in a given string
Viewing 1381 - 1390 interview questions