All Posts By melwynsaldanha

Trieng out ReasonML and ReasonReact

Trieng out ReasonML and ReasonReact

The title seems a little weird, looks like a typo, but there is a pun intended in here. The “Trie” in “Trieng“ stands for the Trie data-structure and in this blog post we’ll explore the world of ReasonML by taking an example of a Trie and implement a React app in ReasonReact. I wrote this post…

When in doubt … Use json-diff

When in doubt … Use json-diff

The original quote by the legendary Ken Thompson goes something like this“When in doubt use brute force.” One possible meaning that can be derived from this quote is that when you are trying to do something clever and you don’t know if/how it works – you need something very simple, core and brute-force to check if your clever solution works or…

Sudoku: A constraint satisfaction problem

Sudoku: A constraint satisfaction problem

You might be familiar with Sudoku. It is a logical puzzle appearing in the puzzles section of most newspapers. The newspaper is the first place where I encountered this puzzle while I was in school and it took me days to solve my first Sudoku puzzle. Later in college, I learned about Constraint Satisfaction Problems (CSP)…