Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

My solution to leetcode's "88. Merge Sorted Array"
Runtime: 0ms

This approach merges the 2 given arrays first and then sorts them with a nested loop.

The first loop goes through every value in the nums1 array after it has been merged.
The nested loop then takes the current value and checks it with all subsequent values to see if the current number is greater
If it is, then swap them if it isnt then do nothing.

About

My solution for leet code's "88. Merge Sorted Array"

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages