Write about existing algorithms and complexity.