maximum sum in an array having positive and negative numbers.
Senior Java Developer Interview Questions
5,290 senior java developer interview questions shared by candidates
Streams
Write connection pooling in using core Java.
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
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"]]
Java concurrency, Java 8 core functional programming
DSA: a medium level coding question DSA: a question based on greedy approach System design: design a delivery service and handle specific scenarios Hiring manager: Projects discussion and easy level coding question
DSA Question: Remove Duplicate in Array.
Viewing 4111 - 4120 interview questions