Skip to content

Instantly share code, notes, and snippets.

View intothedeep's full-sized avatar
🎯
Focusing

Tio Taek Lim intothedeep

🎯
Focusing
View GitHub Profile
@intothedeep
intothedeep / js_this.md
Created July 21, 2019 18:03
Understanding of javascript this in function and arrow function
const arrowFunc = () => {
  console.log(this);
};

arrowFunc(); // window
{"lastUpload":"2019-10-26T07:50:11.598Z","extensionVersion":"v3.4.3"}
@intothedeep
intothedeep / Trie.java
Created September 7, 2018 03:17 — forked from thomashw/Trie.java
Example of implementing a trie. Includes inserting and searching the trie (deletion not included.)
import java.io.*;
public class Trie
{
private TrieNode root;
public Trie()
{
root = new TrieNode( ' ' );
}