online algorithm debugging