floyd, dp, bruce_force