Image for post
Image for post
“Blind monks examining an elephant” by Hanabusa Itchō

Algorithms, Data Structures and Web Development

Or why learning computer sciencey stuff matters…

Job requirements and interview questions

Why the hell do I need to know algorithm complexity analysis?

// Please abstract the fact that Array.prototype.sort
// is stupid and sorts things in lexicographical order
var maxValue = myArray.sort().pop();
var maxValue = null;
for (var i = 0; i < myArray.length; i++) {
if (maxValue === null || maxValue < myArray[i]) {
maxValue = myArray[i];
}
}
Image for post
Image for post
Array size (x-axis), Running time (y-axis). Source: Wolfram Alpha

Why in God's name do I need to know other data structures besides my beloved array?

Solving problems and looking at the big picture

Written by

Senior Software Engineer @ Netflix, previously Staff Engineer @ Spotify. Dad of two, road cyclist wannabe and citizen of the world.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store