...

/

Challenge 2: Merge Two Sorted Arrays

Challenge 2: Merge Two Sorted Arrays

In this challenge, you are given two sorted arrays. Merge them into one array, which should also be sorted.

Problem statement

Implement a function merge_sorted_arrays(array1: &Vec<i32>, array2: &Vec<i32>) -> Vec<i32> which merges ...

Access this course and 1400+ top-rated courses and projects.