algorithm => HDU 1754

Signed-off-by: CyberZHG <CyberZHG@gmail.com>