http://blog.dominikrudnik.pl/my-google-recruitment-journey-part-1 #techcareer #algorithms #emailcramming #humor #HackerNews #ngated
Impagliazzo's Five Worlds
https://www.youtube.com/watch?v=9Rs9_cIEbWY
"A Personal View of Average-Case Complexity" by R. Impagliazzo (1995)
Algorithmica: P = NP, Hard problems are easy to solve. Optimization is effortless.
Heuristica: NP is hard in the worst case, but easy on average.We can't prove problems are easy, but they usually are in practice.
Pessiland: Hard-on-average problems exist, but one-way functions do not.We can't solve problems, but we also can't do cryptography. The worst case.
Minicrypt: One-way functions exist. Private-key cryptography (AES, SHA) is possible, but public-key is not.
Cryptomania: Public-key cryptography is possible. Oblivious transfer and secure multi-party computation exist.
I'm looking for an algorithm that probably has a name but I don't know what it is.
You have a bunch of text files, which you split into words somehow. You want to compile a list of all the *unique* words across all the files and store this list as *compactly* as possible. For example: input ["a", "a", "ab"], output { store: "ab", index: [(0,1), (0,2)] }.
I know how to do this in quadratic time and O(1) extra space, assuming a O(m+n) string search primitive. Can one do better?
Okay, after thinking some more I made an excursion to the dark side. Was on Threads for a week.
Seems once you've been here, there is no way back to where the algorithms are.
You start with a few posts, a few likes, maybe a few retweets. And immediately the algorithms hit in, find similar stuff, stuff that is similar and makes you angry. E.g. favorite about electric cars and get flooded by angry e-car discussions.
Didn't recall algorithms are so bad.
At some point in algorithm development, every engineer has wished, despite the 'other' disastrous consequences of it, for P = nP.
Right now, that's me.
Monuses and Heaps - Donnacha Oisín Kidney
https://doisinkidney.com/posts/2026-03-03-monus-heaps.html
#haskell #fp #algorithms #programming #functionalProgramming
#Walmart Wins #Patents To Give #Algorithms More Sway Over #Prices
Walmart has secured patents for systems that use machine learning to forecast demand and automate #pricing decisions, "pushing the U.S. retail behemoth into a debate over the use of algorithms to adjust product costs,"
#surveillance #privacy #patent

Walmart has secured patents for systems that use machine learning to forecast demand and automate pricing decisions, "pushing the U.S. retail behemoth into a debate over the use of algorithms to adjust product costs," reports the Financial Times. From the report: In January Walmart obtained a U.S. ...