Poker hand | Sololearn: Learn to code for FREE!
0

Poker hand

I solved it with java But the 6th case is not solving what could be the reason

4th Sep 2023, 2:25 PM
Mahesh
7 ответов
+ 2
Can you share your attempt?
4th Sep 2023, 2:29 PM
Sakshi [Offline 🙃]
Sakshi [Offline 🙃] - avatar
+ 2
Is it because you're comparing a string with == instead of the .equals() method? What's an example input? (Or a few examples)
4th Sep 2023, 4:23 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
Great!
5th Sep 2023, 6:47 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
I got it thanks
5th Sep 2023, 6:13 AM
Mahesh
0
It is not working for straight and straight flush and royal flush
4th Sep 2023, 2:33 PM
Mahesh
0
Mahesh dalle
5th Sep 2023, 5:45 PM
Water World
Water World - avatar