猜数字: https://leetcode-cn.com/problems/bulls-and-cows/
https://en.wikipedia.org/wiki/Bulls_and_Cows

Guess the 4 distict number:







Basic usage:
Test the algorithm:
  1. Choose 4 distinct digits. For example `2468`
  2. Click , it will display a result in the textbox. Let's say it's `0123`
  3. Feedback correct positions and numbers in the textbox: `0123 0A1B`
  4. Click
  5. The algorithm may supply a new guess: `1456`, goto step 3.