Showing posts with label Find pairs and keep the order specified by the original array. Show all posts
Showing posts with label Find pairs and keep the order specified by the original array. Show all posts

Friday, March 30, 2018

Find pairs and keep the order specified by the original array

March 30, 2018

Introduction


It is my mock interview algorithm. I wrote a solution but I did not meet the requirement of specified order. I need to rewrite another one after mock interview.

Code review


Here is the C# practice I wrote in mock interview.