algorithms unlocked - bs and ss