Java Interview Questions | Glassdoor

Java Interview Questions

6,004

interview questions shared by candidates

Java Interview Questions

Sort: RelevancePopular Date

Interviewer ask me to solve some permutation related problems. 1) Algorithm to get Index of a permutation when all permutations arranged in lexicographical order and its complexity

9 Answers

print out all prime numbers in a given string. abc2134kd31 -> 2, 13, 3, 3

10 Answers

Given a sorted array, write a program to decide if two elements sum up to a third.

9 Answers

Implement the "see and tell" algorithm with a given seed number x and a number of iterations y. Output the result on iteration y

10 Answers

Find occurrences of a number in sorted array (allow duplicates).

8 Answers

Was asked how I would implement division without using division or mod operators. The answer should return in the form quotient r remainder.

8 Answers

They asked me about the Java Object - Oriented, Inheritance and Out-put the single value of the 2 dimension array

7 Answers

Convert a binary search tree to a sorted, circular, doubly-linked list, in place (using the tree nodes as the new list nodes).

8 Answers

You are a parking lot attendant in a lot that has one open spot, and you want to move the cars from their original positions into a new arrangement. Create a program that will print out instructions on how to move the cars most efficiently.

7 Answers

Coding Challenge 1) Find the longest palindromic substring from the given string. No need of DP solution.

8 Answers
3140 of 6,004 Interview Questions