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 Software Engineer Senior Java Developer Interview Questions
5,574 senior software engineer 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
Find first non repeating character in string without collections.
asked more on sql queries, microservices
OOPS concept
1. Explain the coin change sparing problem and improve the solution. 2. Java/Spring boot Question.
Viewing 4341 - 4350 interview questions