Eric LumMaximum Binary Tree in JavascriptI like to do coding problems. Here’s a breakdown of how LeetCode problem #654 works.Aug 7, 20181Aug 7, 20181
Eric LumMaximum Depth of a Binary Tree in JavascriptAnother common coding interview question I’ve seen is finding the maximum depth of a binary tree. Here’s a solution that I’ve created to…Jun 20, 20181Jun 20, 20181
Eric LumThe Balanced Brackets problemI recently got a code challenge to implement a balanced brackets algorithm. After looking at how it works for a bit, I decided to write a…May 13, 2018May 13, 2018
Eric LumSimple movement animations in ReactMaking animations in React is surprisingly more fun than I originally thought. At first I thought it was going to be a difficult task, but…May 6, 2018May 6, 2018
Eric LumFun coding problems and solutions of the week.Between projects, I’ve been interview prepping on CodeFights.com and I’ve been solving a lot of the problems in arcade mode.Apr 30, 2018Apr 30, 2018
Eric LumCheatsheet to Jest testing in JavascriptSoftware is only as good as its tests, and testing frameworks can be difficult to learn. I’ve parsed through some of the basic Jest…Apr 20, 20181Apr 20, 20181
Eric LumImporting large datasets in RoR (why you should use activerecord-import)Sometimes when you seed data, you need to import a large number of rows into a Ruby on Rails backend. I recently had to import about a half…Apr 14, 20181Apr 14, 20181
Eric LumThe dangerous world of Javascript’s eval() and encoded strings.In Javascript, eval() is one of the most interesting yet most dangerous functions in the language. Eval() takes a string and attempts to…Feb 1, 20181Feb 1, 20181
Eric LumI’m not learning to code fast enough!Learning to code is hard. There’s no easy way around it. Sometimes you think you know something and then BAM … the code you wrote just…Jan 22, 2018Jan 22, 2018
Eric LumWhat is Web Assembly?While I’ve just started learning Javascript, I feel like some parts of it have been exceptionally difficult to learn coming from a more…Jan 11, 2018Jan 11, 2018