bulls
and cows
to zero.h
to store the frequency of each digit in secret
.secret
and guess
simultaneously.
bulls
.guess
is in secret
using the hashmap.
cows
.guess
.guess
to finalize the count of cows
."xAyB"
, where x
is the number of bulls and y
is the number of cows.