Most recent 8 posts

See also all posts ordered by categories.

Iterative Machine Teaching

This is a random discussion surrounding the ICML 2017 paper Iterative Machine Teaching.

Sieve of Eratosthenes

Compute for every integer n between 0 and N (excluded), the minimum number of operations to reduce it to zero. Allowed operations: decrease by 1 or divide by a factor, not larger than its square root.

PQ trees

Given a collection of sets over some ground set, find an order on the ground set such that every set consists of consecutive (contiguous) elements.

Covering points with a strip

Given n points in the 2-dimensional plane find a strip with minimal width that covers all the points.

Path Statistics

In this article, I talk about this problem (of HackerRank). Try to solve it first!

SymPy vs. SageMath: symbolic computation and automatic differentiation in Python

Get Started

Forming arithmetic expression meeting target value

Given n integers and a target value form an arithmetic expression evaluating to the target value.

Mission improbable

Explanation for the problem mission improbable from the ACM final in 2017. Read the problem statement first.