solved ddeg
solved bfs
solved maj