Standard Template Library (STL) – Introduction Tutorial

I have been programming in C++ since 2011. But till today, doubly linked lists, hash tables, pointers and the various searching/sorting algorithms on them have intimidated me. I always had to look at their syntax when I came back to C++ after

Read More

Templates and their Importance in C++

Template is a very powerful yet underused feature of C++. It should be used as much as possible. Let’s begin with a simple scenario. Let’s write a function to multiply 2 numbers in C++. [crayon-5a2f0d2d238bc587561598/] Now, when we pass the below inputs

Read More

Predicting Google’s Stock Price using Linear Regression

What is Linear Regression? Let’s forget the term ‘linear regression’ for some time. Instead, I want you to go back to your high school’s math class. You must have plotted a graph of a given linear equation during coordinate geometry classes in

Read More

Interacting with CSV files using Python

CSV (Comma Separated Values) files are one of the most used forms of data storage. This is due to their flexibility and cross language support. Every major programming language has support for CSV file I/O (input/output). In this article, we will be

Read More

Dealing with stdin (standard input) in Python

When I started out with competitive programming, I was frequently confused with the usage and implementation of stdin a.k.a. Standard Input in Python.  If you have tried competitive programming, where your code is tested against numerous test cases, you may have come across

Read More

Using Github Through Git Shell

What is Github? Github’s Wikipedia page defines it as below, GitHub is a web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features. That’s quite a mouthful. Basically Github is a

Read More