How do you print all elements of a linked list.
Desarrollador Sr Java Interview Questions
712,707 desarrollador sr java interview questions shared by candidates
Given two unsorted arrays, one with event start times and one with end times, find out if any two events overlap.
Given an array where each entry can be another array, and so forth, flatten the array. [4, [3, 6, [9, 1, 9, [5, 1]]], 8] -> [4, 3, 6, 9, 1, 9, 5, 1, 8]
Return the head node of the singly linked list with each pair of nodes swapped. If there is a last odd node leave it in place. Example: Input: 1 -> 2 -> 3 -> 4 -> 5 Output: 2 -> 1 -> 4 -> 3 -> 5
You are given a list of strings (e.g. ["cat", "dog", "hat", "apple", "c"] ). Write a program that would take as input a string containing a wild card character, like "*at", "**t" (could be "cat", "hat", "bat"), "ca*", etc. and return true if there is a corresponding string in the list, and false otherwise.
Reverse the words in a sentence. For example, "Have a nice day" becomes "day nice a Have"
You have two linked lists that merge at some node. The lists could be billions of nodes long. Find the node where the lists merge in the most optimal time while using a low amount of memory.
You have 8 balls. All are identical except one is slightly heavier. You have a balance. What is the minimum number of weighings required to find the heavier ball?
How many unique paths are there from B-L point to the T-R point of a chess table? What would be your approach to calculate this?
string compression: aaabbbbcc ->a3b4c2
Viewing 691 - 700 interview questions