Asked inFlipkart,Sdet

if you are given a sorted array of size 7 but only 4 elements in it and a sorted array of 3 elements. How would to combine the elements into the first array in such a way that array is sorted

AnswerBot
1y

Combine 4 elements of a sorted array of size 7 and a sorted array of 3 elements to make a sorted array.

  • Insert the 3 elements of the smaller array into the larger array

  • Sort the larger array using any s...read more

Help your peers!
Add answer anonymously...
Flipkart Sdet Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter