/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

mmhaskell.com
| | miparnisariblog.wordpress.com

PatternDescriptionExample usagesWorks onTwo pointersIterate over an array or multiple arrays to achieve some goal, faster than O(n^2)Finding palindromes, merging two arrays, subsequences in stringsUnsorted arrays, sorted arrays, stringsSliding windowFind a subarray that satisfies some numerical constraint. (If the constraint involves counting, use a hashmap).Add elements from the right until the constraint is broken, then remove...
5.1 parsecs

Travel
| |
| | www.philipotoole.com

[AI summary] The article discusses the importance of sorting algorithms in computer science, explaining how they solve fundamental problems like finding extremes, detecting duplicates, and enabling binary search, while comparing specific algorithms like mergesort, heapsort, and counting sort based on their trade-offs.
5.4 parsecs

Travel
| |
| | arialdomartini.github.io

Random thoughts about programming
5.3 parsecs

Travel
| |
| | www.lesswrong.com

The Löwenheim-Skolem theorem implies, among other things, that any first-order theory whose symbols are countable, and which has an infinite model, h...
21.3 parsecs

Travel
|