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]
Senior Java Developer Interview Questions
5,535 senior java developer interview questions shared by candidates
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"]]
What was the most challenging situation faced in your previous experiences
What is the most challenging project that you have worked on? , give me some architecture/technologies frameworks/cloud details
Find first non repeating character in string without collections.
asked more on sql queries, microservices
OOPS concept
Viewing 4311 - 4320 interview questions