Hash Tables

Hash tables are an efficient implementation of a keyed array data structure, a structure sometimes known as an associative array or map. If you’re working in C++, you can take advantage of the STL map container for keyed arrays implemented using binary trees, but this article will give you some of the theory behind how a hash tables … Read more

Templates in C++

What are Templates: Templates in C++  are the foundation of generic programming, which involves writing code in a way that is independent of any particular type. C++ uses Standard Template Library (STL) for templates. A template is a blueprint or formula for creating a generic class or a function. The library containers like iterators and … Read more

Time Complexity: How to calculate?

If you are learning DSA and algorithms, it is really important for you to know how to calculate the Time complexity for any given algorithm. Lets understand the same with example Time Complexity Calculation: The most common metric for calculating time complexity is Big O notation. This removes all constant factors so that the running … Read more

How to learn Programming from Scratch.

Learning programming is easy but learning it from scratch isn’t. This is a step by step process which you should learn. Start from here: 1) Acquire and read a book about basic computer science(I recommend picking up and reading just one book at first, then getting on to actual coding. You’ll never become a successful … Read more

Why people think C++ is Complicated

Why would someone be using C++ in the first place?  Article By: John D. Cook Most likely because they need performance or fine-grained control that they cannot get somewhere else. A Ruby programmer, for example, can make a design decision that makes code 10% slower but much easier to use. “Hey, if you want the … Read more