Introduction
It is one of my mock interview algorithm given by my coach. I wrote a C# solution. I got hint to use array instead of using hashset.
Follow up
July 20, 2018
I ran the code against Leetcode online judge using Leetcode 205. There is index out of range error for test case: "13", "42"
Need to fix the issue. The C# code is here to pass online judge.
No comments:
Post a Comment