DP16, CODE, review graph algorithm