How to use a Map in ReasonML

Module Functor... In ReasonML, is a module functor. In OCAML, returns a module. It requires two parameters; And then creat an empty map…

Read More

Implement a Trie

Trie 는 무엇인가? LeetCode 에서 풀어볼 수 있다. 전화번호부에 사람이름이 저장되어있다. 만약 LinkedList…

Read More

Generate parentheses

Given , write a function to generate all combinations of well-formed parentheses. This problem can be solved in LeetCode. Examples Solution…

Read More

Climb stairs

n개의 계단을 올라야 한다. 한번에 한칸 혹은 두칸의 계단을 올라갈 수 있다. n개의 계단을 오르려면 몇가지 경우의 수가 존재하는가? 이 문제는 LeetCode 에서 풀 수 있습니다. 예제 2개의 계단을 오르는 방법은 2가지가 존재한다. 1 step…

Read More

Ubuntu: Switch Between Multiple Versions of gcc, Java, and Python

TLDR: Use Ubuntu's system to manage multiple versions of programs (gcc, Java, Python, etc.): For many programs, it's necessary to install…

Read More