life is too short for a diary

Most popular




Thu 10 Feb 2022

Implementing Dark Mode to Your Jekyll Site without learning CSS

Lots of website have added dark themes to their platform. Twitter also has a dark mode which I really love while reading at night. Also there are benefits of using dark mode for the eyes...

Continue reading → Tags : jekyll






Sat 05 Feb 2022

Leetcode - All Divisions With the Highest Score of a Binary Array

You are given a 0-indexed binary array nums of length n. nums can be divided at index i (where 0 <= i <= n) into two arrays (possibly empty) numsleft and numsright..

Continue reading → Tags : leetcode hashmap array java python






Mon 31 Jan 2022

Learning Tennis

Badminton sport has a low learning curve unlike tennis. Even your granny can hit a birdie. I grew up playing badminton but decided to try my luck with tennis. “Playing tennis would be a cakewalk”, I thought. However my hubris was soon deflated...

Continue reading → Tags : tennis recreation badminton sports