Saturday, July 21, 2018

Leetcode 88: merge sorted arrays

July 21, 2018

Introduction


It is an easy level algorithm called merge sorted arrays. I spent less than 20 minutes to work on the solution. I like the way I handled the edge case. The code passes online judge.

Here is my C# code.

Extended algorithm


I am thinking about possible extended algorithm.


No comments:

Post a Comment