Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Have changed to INT.
The requirement was to use posts.id as a tie-breaker when there are two posts witht the same number of views.
In the
getRank
definitionHandRank::RoyalFlush
is obtained for straight flush hand with ace, thereforecompare(PokerHand("6S 7S 8S 9S TS"), PokerHand("AS 2S 3S 4S 5S"))==Result::Win
is false.Also the "circular" implementation of
checkStraight
seems to be not consistent with poker ranking rules.Changed, sorry for the inconveniences
In description type of
manager
incompany
table isint
, but in reality it isdouble precision
. I think it should be changed toint
as it references toint
inemployee
table.column names
first_name
andsecond_name
in description should be changed to match test cases.This comment is hidden because it contains spoiler information about the solution