Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

sliding window algorithm in c#

var input = new[] { "a", "b", "c", "d", "e", "f" };
var result = input.Zip(input.Skip(1), (a, b) => Tuple.Create(a, b));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sliding #window #algorithm
ADD COMMENT
Topic
Name
8+1 =