Ad
  • Custom User Avatar

    Johan is correct. The description and test cases have been fixed to reflect the change

  • Custom User Avatar

    Fixed description and test cases

  • Custom User Avatar

    I can reword the description to match what should be clarified.

    Also to clarify, there is no cut. It is assumed that the seller will receive the top two bills in full.

  • Custom User Avatar

    There is a test case for zero bids. One bid can be treated as it's own bid. Therefore, if the one bid is greater than the value, then the auctioneer has made a profit and will return true.

  • Custom User Avatar

    "Auctioneer" is actually neither ..

  • Custom User Avatar

    An auctioneer is an agent, not the actual seller of the item. They usually work on commission.

    The description asks if the auctioneer makes a profit, but the actual task may be determining if the seller makes a profit.

    Also, if the auctioneer takes a cut of the ultimate sale price, seller may not get the full top two bids as payout.

    This should be clarified.

  • Custom User Avatar

    What happens when there are zero or one bid(s)?

  • Custom User Avatar

    Marking resolved

  • Custom User Avatar

    Oh okay so I misread, it was a language issue: I thought that "auctioneer" is a person who attempts to buy an item, and not sell it.

  • Custom User Avatar

    All bids are considered legitimate regardless of how many people are participating in the auction. A test case has been made if no bids are placed.

  • Custom User Avatar

    The user is not bidding in the auction. All that needs to be determined is whether the auctioneer makes a profit or not. All bids are considered legitimate regardless of who is bidding. That means the same person can bid twice in a row.

  • Custom User Avatar

    Issue resolved

  • Custom User Avatar

    It's not clear to me how to tell which bids in the input list are mine, and which are not. How do I distinguish the person who makes a bid?

  • Custom User Avatar

    There is no fixed tests which test for particular scenarios and edge cases. There should be fixed tests for situations like: auctioner won, auctioner came as second and lost, auctioner came as third or later, maybe some additional cases like getting out-bid, and edge cases like only one auctioner, or no bids.

  • Custom User Avatar
  • Loading more items...