Raising the bar for what is necessary to keep your accounts secure online.
Articles in the Problem Solving category
-
-
Graph Algorithms For Coding Interviews
A quick review of basic graph algorithms and related data structures for coding interviews, with minimal implementations and unit tests provided in Python.
-
Fun With Python Coroutines: Generating Permutations
A very short post on having fun with coroutines to generate all permutations of a given list.
-
The Infinite In Haskell and Python
Exploring the use of coroutines and lazy evaluation to generate infinite structures in Haskell and Python.
-
9 Anti-Patterns Every Programmer Should Be Aware Of
A discussion of software design and programming anti-patterns to know for every programmer, with examples.
-
Understanding Recurrence Relations Using Automata, Python Code, And Javascript Visualizations
Recurrence relations are very often taught in first- or second-year computer science and discrete mathematics courses. This post takes a somewhat different and more visual approach to understanding linear recurrences and solving them by drawing the link between linear recurrences, automata, and matrices, using the problem of generating all domino-tilings of a board as the springboard. Code in Python and visualizations in JavaScript are used to demonstrate the ideas.
-
So How Do You Actually Calculate The Fibonacci Numbers?
You have seen it as an example a million times. But do you know how to do it efficiently?