Yuhan Liu

Studying Computer Science & Engineering and Mathematics at UCLA


Heads Up

June 6, 2022 - Heads Up and Bayesian statistics

Ever wondered how many cards were in a Heads Up deck? Yeah didn't think so. Well, after a deep dive into Bayesian statistics, I can tell you it's around 100. (And no, it's not because the Bayesian statistics had any help but it's still cool)

Breaking Sticks

Nov. 13, 2021 - An interesting interview question I came across

A meter stick is broken into 100 pieces. What's the expected length of the shortest piece?

OCaml CAS

Oct. 12, 2021 - Let's write a calculator in Ocaml!

After updating my laptop to macOS Monterey (beta), I discovered that my beloved spotlight calculator is now incredibly slow to give me results for even the most basic equations. I'm ~90% sure it's just too busy indexing files, but in the meantime, I'd definitely appreciate a handy calculator that I can pull up with a keyboard shortcut.

LOLStats

Sept. 6, 2020 - Taking a statistical approach to analyzing League of Legends games

LOLStats is one of those small "what if" projects I started partly due to boredom but also partly due to frustration from the lack of a better League evaluation system. Check it out if you're in the same boat as me or if you just want to see some colorful graphs.