types of online algorithms clarified