Given a 2D map w/ walls: -------- | | |xxxx | | | ------------- Write a function that finds the shortest route distance between any two empty points in the map.
Software Developer New Grad Interview Questions
711,792 software developer new grad interview questions shared by candidates
What is the output of the following program? class Poly { static int length; int width; public Poly(int l, int w) { length = l; width = w; } int area() { return 2*length*width; } } class Rect extends Poly { public Rect(int l, int w) { super(l,w); } int area() { return length*width; } } class Solution { public static void main(String args[]) { Poly rect1 = new Poly(5,5); Poly rect2 = new Rect(6,4); int area1 = rect1.area(); int area2 = rect2.area(); System.out.println(area1 + " " + area2); } } 30 24 60 48 60 24 25 24 50 48 48 24 50 24
You work in a factory that manufactures balls. One day one of the balls manufactured in a group of eight is slightly heavier than the rest. You have a standard scale with which you can weigh the balls. How would you go about finding the defective ball in the least amount of weighing attempts possible (maximum of 2 attempts).
1.Code challenge.
1. Spring MVC Architecture 2.OOPS Concepts 3.Hibernate ORM 4. What is IOC Controller 5. JDBC Connections etc..
Write a program to generate 6,15,35,77,143,221,323,437...........
Your Technical skills
What was your Final Year Project?
Q: Can you join me next day at 12 PM for an interview?
Write some code to print extract words from a piece of text. Analyse the words found and print out some metrics e.g. average word length, most common word length etc...
Viewing 2111 - 2120 interview questions