Teaching Programming: Some Tips and Tricks

Here is a collection of my thoughts and experiments on better teaching programming. This article is written in the context of the Mathematics Lab with Python taught in colleges in Bangalore/Karnataka. I have tried almost all of it: and I have seen them building confidence among students to write codes themselves. The most adopted strategy…

The Pythagorean Triplet Problem

When there are too many numbers to crunch – we make computers do it! A problem you can solve with Brute Force Technique.

A Bit About Dijkstra’s

Someone recently asked me about Dijkstra’s Algorithm – I thought I will write a short note, for the benefit of all students. The content here is from Introduction to Algorithm by CLRS, with a bit more detailed explanation. This book is called the “Bible of Algorithms”, that is, the best book to learn nearly all…