[Segment 2.2] We are about to enter the core part of this segment—algorithms.
Welcome to another installment of CodeSport, which focuses on number theoretic algorithms. In particular, we will discuss the well-known 3-SUM problem, where given an array A of N numbers, we need to determine whether there exists a triple a, b and c that belongs to A, such that a+b+c = 0.
Most of us use sessions on a daily basis while browsing the Web. But have you ever wondered how sessions are implemented? The e-mail …