Hi Gophers!
Here's a simple O(m+n) solution in Go for merging sorted array. :)
0:00 Question
0:25 Example
1:21 Explanation
1:32 Visualizing the solution
3:21 Coding it out
Explore other playlists here for your coding interviews:
1. Top 150 leetcode questions:
https://www.youtube.com/playlist?list=PL-zQGDJG8D5R0Ng6WGaN-U9FORpE9EdGq
2. Easy leetcode questions:
https://www.youtube.com/playlist?list=PL-zQGDJG8D5TYM_P2JJ7kjLvt0jBzRbsi
3. Top array leetcode questions:
https://www.youtube.com/playlist?list=PL-zQGDJG8D5QENQhUP83V_R7jGI861Xpw
All the best for coding interviews! :)
#twopointers #leetcode #codinginterview
#golang #golangtutorial #gophers