Shuffle an array

March 10, 2018

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

March 09, 2018

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)

February 18, 2018

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

February 07, 2018

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

January 29, 2018

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

© 2024 Mo Kweon. All rights reserved.