By Code
  • Home
  • About
Sign in Subscribe

Recursive

A collection of 1 post
Uncategorized

A simple trick to gain some optimization in your code

I see some times developers do not optimize recursive functions to put less load on stack although many times it can be done with some simple changes in the code without even affecting usability. Lets assume we have a recursive function like the following (which is a C# implementation of
07 Sep 2013 1 min read
Page 1 of 1
By Code © 2026
  • Sign up
Powered by Ghost