(Chromatic Harmonica Tabs)

6   6      6    5      6   -6   6     5
De Camptown ladies sing this song,


- Draw in

nil — Blow

Respite from coding :)

Here’s the tabs. Added lyrics for you to “hear the notes” and “keep the rythme”.

7B 7D 7B 6B 7B 7D 7B 6B

Silent Night, Holy Night

9D 9D 8D 8B 8B 7B

All is calm, All is Bright

7D 7D 8B 8D 7D 7B 7D 7B 6B

Round yon virgin, mother and child

7D 7D 8B 8D 7D 7B 7D 7B 6B

Holy Infant, so tender and mild

9D 9D 10D 9D 8D 8B 9B

Sleep in heavenly peach, ooh

8B 7B 6B 7B 6D 5D 5B

Sleep, sleep in heaven, heavenly peace

B — Blow
D — Draw (Suck in air)

Happy playing, fellow Chromatic Harmonica pals!

This story is a result of spending two years of intensive coding of questions on Data Structures and Algorithm questions on platforms like Lintcode and Leetcodes. I had always publish on solutions to thorny questions that I encountered so as to alleviate the pain of the next learner.

I will…

Photo by Anthony Fomin on Unsplash
> pyinstaller main.py

The above command is said to be enough for you to bundle your newly written python app to face the world. It’s too simplistic. To use pyinstaller, you need to tinker with it. …

Problem — Find K Pairs with Smallest Sums

You are given two integer arrays nums1 and nums2 sorted in ascending order and an integer k. Define a pair (u,v) which consists of one element from the first array and one element from the second array.
Find the k pairs (u1,v1),(u2,v2) …(uk,vk) with the smallest sums.


In the world of the moon, ordinary people will solve a problem. This problem is a string of English letters. Each time you can delete an English letter. Try to delete as few times as possible to make the various letters’ frequency appear differently. …

Lintcode 257 or Leetcode 1048

Question setup

Given a list of words, each word consists of English lowercase letters.
Let’s say word1 is a predecessor of word2 if and only if we can add exactly one letter anywhere in word1 to make it equal to word2. For example, “abc” is a predecessor of…


Writing to soothe the soul, programming to achieve flow

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store