Update README.md

This is a interview question ,I wrote these code , I am not sure if it is reasonable.