Basic DS Algo. Leetcode easy and medium level will work. But don't expect offer which you have asked before giving interview. Even if you crack interview they will offer less.
Java Senior Interview Questions
6,023 java senior interview questions shared by candidates
Question 1: Given two sorted arrays, the task is to merge them in a sorted manner. Input: arr1[] = { 1, 3, 4, 5}, arr2[] = {2, 4, 6, 8} Output: arr3[] = {1, 2, 3, 4, 4, 5, 6, 8} Input: arr1[] = { 5, 8, 9}, arr2[] = {4, 7, 8} Output: arr3[] = {4, 5, 7, 8, 8, 9} Question 2 : Object[] array = { 1, 2, new Object[]{ 3, 4, new Object[]{ 5 }, 6, 7 }, 8, 9, 10, new Object[]{ 11,12} }; Integer[] flattenedArray = flatten(array); complete flatten array function to get the output array as [1,2,3,4,5,6,7,8,9]
What is copy constructor? What is by name by type dependency injection in spring What are the types of autowiring
DSA Question: Remove Duplicate in Array.
what conflicts you faced and how did you deal with it
What is Oops. Write a Program given string array String[] input ={"eat", "tap", "cat", "tea", "act", "pat", "ate"}; //output = [["eat", "tea", "ate"], ["cat", "act"], ["tap", "pat"]]
As perguntas foram especificas relativas a Java 11, bem específicas, e não lembro de detalhes. De um modo geral perguntou sobre experiencias passadas, mas não foram levadas em consideração.
O que é map? O que é garbage collector? O que são exceptions? Perguntais gerais sobre POO.
What was the most challenging situation faced in your previous experiences
Find first non repeating character in string without collections.
Viewing 4701 - 4710 interview questions