Bulls and Cows

leetcode.com/problems/bulls-and-cows/#.Xe2cloXJwuc.link Runtime: 8 ms, faster than 100.00% of PHP online submissions for Bulls and Cows.Memory Usage: 15 MB, less than 100.00% of PHP online submissions for Bulls and Cows.