Posts tagged algorithms
Stripe Card Validation: A Four-Part HackerRank Take-Home in Python
Stripe's take-home assessment builds a card validation system across four escalating parts. Part 1 checks a Luhn checksum on Visa cards. Part 2 adds netwo…
Algorithms That Interest Me
<!-- Numerical: * Euclid's algorithms * Gaussian elimination * Fourier-Motzkin elimination * Fast Fourier Transform Data structures: * Binary trees * Hash…
Competitive Programming Practice
* array of numbers * jolly or not jolly flag * if all numbers between 1 ... (n-1) contained between abs(n - n + 1) for all n in array * boolean array of s…
Searching and Sorting - Binary Search
The idea behind binary search is that if the array is sorted already then we can minimize the number of comparisons we need to do. We can ignore half of t…