56 subscribers








Algorithms, Data Structures, Collections
  |  Technology  |  Science Stuff  |  Travel  |  Golf  |  Entertainment  |  Buddhism  |  Finance and Investing  |  Austin  |  India  |  Diet, Health  |  Petitions, Causes  |  

Algorithms, Data Structures, Collections in C#

Swapping without a temp variable | Posted on by Anuj Varma

Everyone is familiar with the basic swap – using a temporary variable
static void RegularSwapUsingTempVariable(ref int a, ref int b)
{
int temp = a;
Continue reading


Considering the amount of time they have saved mankind, Hash-functions are among the most under-appreciated gems of computing.  A hashing function will typically, using just a SINGLE lookup – retrieve a deeply buried patient record or a stock quote or … Continue reading


Considering the amount of time they have saved mankind, Hash-functions are among the most under-appreciated gems of computing.  A hashing function will typically, using just a SINGLE lookup – retrieve a deeply buried patient record or a stock quote or … Continue reading