Skip to content

Algorithms

Follow the ideas that keep turning up in Hacker News discussions.

Loading full catalog… in Algorithms
2000arXiv

Dancing links

Donald E. Knuth

The author presents two tricks to accelerate depth-first search algorithms for a class of combinatorial puzzle problems, such as tiling a tray by a fixed set of polyominoes.

10 mentions10 months
2HN score
2017arXiv

Generalization in Deep Learning

Kenji Kawaguchi, Leslie Pack Kaelbling, Yoshua Bengio

This paper provides theoretical insights into why and how deep learning can generalize well, despite its large capacity, complexity, possible algorithmic instability, nonrobustness, and sharp minima, responding to an open question in the literature.

5 mentions5 months
2HN score
2010arXiv

Markets are efficient if and only if P = NP

Philip Maymin

I prove that if markets are weak-form efficient, meaning current prices fully reflect all information available in past prices, then P = NP, meaning every computational problem whose solution can be verified in polynomial time can also be solved in polynomial time.

23 mentions22 months
1HN score
2015arXiv

Array Layouts for Comparison-Based Searching

Paul-Virak Khuong, Pat Morin

We attempt to determine the best order and search algorithm to store $n$ comparable data items in an array, $A$, of length $n$ so that we can, for any query value, $x$, quickly find the smallest value in $A$ that is greater than or equal to $x$.

9 mentions7 months
1HN score
2014arXiv

Robust Cooperation in the Prisoner's Dilemma: Program Equilibrium via Provability Logic

Mihaly Barasz, Paul Christiano, Benja Fallenstein +3

We consider the one-shot Prisoner's Dilemma between algorithms with read-access to one anothers' source codes, and we use the modal logic of provability to build agents that can achieve mutual cooperation in a manner that is robust, in that cooperation does not require exact equality of the agents' source code, and unexploitable, meaning

5 mentions5 months
1HN score
2018arXiv

Zip Trees

Robert E. Tarjan, Caleb C. Levy, Stephen Timmel

We introduce the zip tree, a form of randomized binary search tree that integrates previous ideas into one practical, performant, and pleasant-to-implement package.

1HN score