What is the difference between an abstract class and an interface?
Software Intern Interview Questions
17,767 software intern interview questions shared by candidates
What concepts you don't like about Java? and why?
What were the classes in your program that you preferred.
You have been given an matrix of characters 5*5 which contains 24 elements a..y the matrix will look something like a b c d e f g h i j k l m n o p q r s t u v w x y You have been given alpha (starting character) and beta (Ending character) as two characters. You have to find all shortest paths between alpha and beta with a restriction that you are allowed to move vertical or horizontal.
Q. write code to detect if an array contains any duplicates?
Given a 3x3 keypad with ABC on number 2, DEF on number 3 and so on. Given a set of numbers, output all the english words that can be obtained from it. Assume an in-built function exists to check if the given word is an english word or not. Eg: inuput: 228, output: bat, cat, act and so on.
Second Interview: Write a function that takes a binary search tree and returns an array with the in-order permutation of the tree.
Given 2 strings, how can you determine that one string is only made of characters found in the second string.
Test whether a binary tree is symmetrical in both data and shape
Reverse a string.
Viewing 1691 - 1700 interview questions