Problem Solving with Algorithms and Data Structures

Few chapter wise pickings from Problem Solving with Algorithms and Data Structures by Brad Miller, David Ranum. Algorithm, a step-by-step list of instructions for solving any instance of the problem that might arise. Algorithms are finite processes that if followed will solve the problem. Algorithms are solutions. Computer science can be thought of as the study of algorithms. However, …

Dive into Python

Few chapter wise pickings from Dive into Python by Mark Pilgrim. Objects in Python Everything in Python is an object. Strings are objects. Lists are objects. Functions are objects. Even modules are objects. Almost everything has attributes and methods. All functions have a built-in attribute __doc__, which returns the doc string defined in the function's source code. Different programming …

Strike-through Text In Gmail

Select text which you want to strike out. Right click on the selected text and choose inspect element. The inspector will highlight that text. Right click on that and choose edit as HTML. Wrap the text inside <strike> tag.

Reading Complicated C Declarations

In this post I'll be writing about how to easily read the complicated C declarations like Let's go ahead with the first one 1. Start from the variable name -------------------------------x 2. Go right, find () ---------------------------------------------- is a function having no argument 3. Go left, find * ------------------------------------and returns a pointer 4. Nothing to right, …

Vim Bundles

This blog posts has instructions to boost up Vim. Let's install latest vim from source Download it, the latest is 7.4. follow the below steps: Now let's install some Vim Plugins using vundle  You can open your vimrc using Paste this is in your .vimrc. Download Vundle, using Now let's download and install our first boost …