By tag: Recursion
0
kicks
Tail recursion in C#
This article briefly explains what tail recursion is, and explores various ways to implement it in C#.
0
kicks
Expose New Linq Operations from the HashSet<T> Performance Monster
Linq is not just about databases. It’s about reading the registry, your hard-disk, or even a list of function pointers to be invoked. Linq is about more event then sets (collections). It’s about making tasks easier in many cases and vastly more powerful (and most importantly your code more readable ...
0
kicks
I've got 99 Problems But a Glitch Ain't One : Problem 7 (F#)
Solution to Problem #7 of 99 Problems in F# (Flatten a nested list structure using recursion).
0
kicks
Anonymous Recursion
Anonymous recursion for lambda expressions and anonymous delegates in C# can be implemented using an implementation of the Y Combinator as well as a more efficient procedural approach with assignment. This article also explains how the use of the technique for representation lambda expressions rendi...
0
kicks
Replacing Recursion With a Stack
This post demonstrates how a recursive method can be replaced with a non-recursive method by using a Stack collection.