algrithmsC