Shuffle an array

If you have an array and you want to shuffle it, how would you implement this? O(n2) The first algorithm is a simple brute force algorithm…

Read More

Reverse a Linked List

If a Linked List is given as 1 → 2 → 3, it should reverse the list like 3 → 2 → 1. You can solve through HackerRank. https://www.hackerrank…

Read More

How to add styles to Jupyter (feat. NBViewer)

Although this method only works in NBViewer, NBViewer is so much faster than GitHub rendering engine and it should be the standard way of…

Read More

Webpack, Typescript, Nodemon, and Node.js

This post is to describe how to use Webpack, Typescript, and Nodemon with Node.js. Why Webpack? Webpack bundles all JavaScript into a single…

Read More

Migrating to GatsbyJS

I decided to migrate my current blog to GatsbyJS (previously, I was using Pelican). Why GatsbyJS Though Pelican was okay, I moved to Gatsby…

Read More