challenge

A collection of 8 posts

Aug 21, 2018

Programming Challenge: Nth Fibonacci Number

Programming Challenge: Nth Fibonacci Number

Programming Challenge: Nth Fibonacci Number I did a quick Google search for "favorite whiteboard interview problems" and came up with a few interesting possibilities. The one I've chosen here is Nth

Jul 26, 2018

Programming Challenge: Data Validation

Programming Challenge: Data Validation

Your boss has asked you to import a bunch of someone else's data into your perfect, precious, pristine database. Catch is, their data is hot garbage. What do you do? The challenge You

Jun 10, 2018

Programming Challenge: Ordered Symmetric Difference

Programming Challenge: Ordered Symmetric Difference

Scary name, simple concept. The symmetric difference of two sets is the items of each set not present in the other set. Once again, however, the fact that a problem is simple has no bearing on how often we may or may not see it in real world situations.

Apr 2, 2018

Programming Challenge: Dictionary Compression

Programming Challenge: Dictionary Compression

Once upon a time, computers were slow and disks were small. Every kilobyte—nay, every byte!—was precious, and a thing to be hoarded and safeguarded against the awful ravages of time and bloat. In those days, a great many stupid things were done in the name of efficiency. Here is one.

Feb 23, 2018

Programming Challenge: Swap Usage

Programming Challenge: Swap Usage

How much more RAM does your system need? We all know the only correct answer to this question is "all of it," but let's curtail our goals for a moment and think about how much we can actually use.

Feb 6, 2018

Programming Challenge #1: Unique Primes

Programming Challenge #1: Unique Primes

I whine a lot about the kinds of challenges that get posted elsewhere on the internet. I call them math riddles, or comp sci riddles; it depends on the exact content of the challenge. Point is I hate them.