Longest increasing subsequence: Difference between revisions

m
threw wrong exception type
(Added 2 C# implementations)
m (threw wrong exception type)
Line 345:
{
public static T[] Find<T>(IList<T> values, IComparer<T> comparer = null) {
if (values == null) throw new NullReferenceExceptionArgumentNullException();
if (comparer == null) comparer = Comparer<T>.Default;
var pileTops = new List<T>();
196

edits