Can you inherit from two classes in Java?
Engineer Internship Interview Questions
23,889 engineer internship interview questions shared by candidates
Find duplicates in array Find the middle element of a linked list Find if two trees are exactly same
Minimum Remove Parentheses from Leetcode
How would you test this Java class?
Minimum cost path – In 2D matrix Kady is standing on a two-dimensional plane of size m*n square units. The plane is partitioned into unit squares. So, in total, there are m*n squares. Kady has his favorite number “X” so each time when he will jump he will take jump of “X” units. In short, the plane can be considered a 2D matrix. Kady is currently standing at position S(p,q) where p is the pth row of the matrix and q is qth column of the matrix. Kady wants to go from his position S to his new position R(u,v) by taking jumps of exactly X units each time. Determine if Kady can reach his destination or not. If he can reach, print the minimum number of jumps he needs to take to go from S to R.
The first question was the normal sorting-based question. The maximum number you can make something that sort of.
Loop through a list and extract elements on a condition.
They asked me questions on data structures. Make sure to go through those!
(phone interview) Using any language, write a basic arithmetic calculator. It should take an input string like "1 + 2 * 3" and return the value of the expression, in this case 7.
I was asked some general machine learning and np-completeness questions which were outside the scope of what I had studied so far.
Viewing 2561 - 2570 interview questions