Edward Wu says to YSITD
這個則是 general solution