
Asked in ivy
How do you find the second largest number in an array?
Anonymous
2y
public class Main{
public static void merge(int[] arr, int beg, int mid, int end){
int l1 = mid-beg+1; //length of left array
int l2 = end-mid; //length of right array
int[] leftArray = new int[l1]; ...read more
Anonymous
2y
Sort the array using any sorting technique with less time complexity then print the (arr.length-2)th element from array.
Help your peers!
Add answer anonymously...
Top Software Engineer Interview Questions Asked at ivy
Q. What are OOPS concepts?
Q. What are exceptions in Java?
Q. 1. Difference between .equals() and == function. 2. Fibonacci series 3. MultiThr...read more
Interview Questions Asked to Software Engineer at Other Companies
Top Skill-Based Questions for ivy Software Engineer
Algorithms Interview Questions and Answers
250 Questions
Data Structures Interview Questions and Answers
250 Questions
Web Development Interview Questions and Answers
250 Questions
Java Interview Questions and Answers
250 Questions
Software Development Interview Questions and Answers
250 Questions
SQL Interview Questions and Answers
250 Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

