tou sem ideia dde onde e como começar
write a method called suitHist that takes an array of cards as a parameter and that returns a histogram of suits in the hand. your solution should only traverse the array once
tou sem ideia dde onde e como começar
write a method called suitHist that takes an array of cards as a parameter and that returns a histogram of suits in the hand. your solution should only traverse the array once
VOcê precisará de uma estrutura auxiliar, como um map ou um segundo array.