LeetCode Question · Sep 2024

Amazon Interview Question for SDE L5 Role

1 upvote 659 views 10 replies

Question Details

I was given two sorted arrays and asked to merge them. My initial approach used extra space with a time complexity of O(n + m): def merge(array1,array2): res = [] while...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays