They just asked output of some code snippets.
Junior Developer Interview Questions
14,277 junior developer interview questions shared by candidates
The question was intended to exam my English level Q: Describe your favorite movie.
About loops about oops and basic data structures
Q: What are standard web response codes
When you have a problem, how are you searching the solution?
What is maven? NoSql Database
Technical Questions: 1. What's the difference between pass by reference and by value? 2. How you you get the third highest salary from a table? 3. Given a paragraph that is one giant string, and a word that you are trying to find in the paragraph, what would you do to find that word in the paragraph? Behavioral Questions: What is one expereince that was diffcult to vercome? 4.Describe one time you had to overcome a difficult experience? 5.Just questions asking to give a simple explanation on classes listed on my resume. Nothing to detailed, just a general idea.
They asked me about collection framework.
01. You are given a function, int Distance(int Ax, int Ay, int Bx, int By); The function accepts the coordinates of truck A(Ax, Ay) and the coordinates of truck B(Bx, By), as input. The office is at location (0, 0). Implement the function to determine which truck is closer to the office by comparing the square of their distances. Return the square of the distance of the truck which is closer to the office. Square of distance between two points having coordinates (x, y) and (0, 0): (Distance) [x²+ y²] = 82645-3997956 02. 03. Note: D •No need to compute the square root of the distances of trucks A and B from the office. • If both trucks are at equal distance, return square of distance of either truck. Example: Input: 12 5 12 9 Output: 169 Explanation: (Distance of truck A)² = (Ax² + Ay²] = [12²+52) = (144 +25) = 169 (Distance of truck B)2= [Bx²+ By2] = [122+92] = (144 +81) = 225 Since, (169225), hence the output is 169. Sample input 6 8 3 4 sample output 25
Describing different design patterns algorithm questions...
Viewing 1481 - 1490 interview questions