you are given an integer array a of size n and an integer m you have to distribute the elements code example
Example 1: Create a program that finds the minimum value in these numbers
Create a program that finds the minimum value in these numbers:
Example 2: write a function that takes in 2 arrays , merges them together an then return the new array sorted
// const twoArraysSorted = (arr) => {
// let copy = [...];
// copy.sort((a,b) => a-b).map(el=> el*2)
// return arr
// }