Skip to content

thomaswhyyou/backend-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

backend-examples

backend_1

Given a list of integers, find all indexes of consecutive runs

backend_2

Write a backend library for auction house for their online auction system.

The system supports the following operations:

  • Auctioneer adds an item that can be auctioned. An item has a unique name and reserved price.
  • Auctioneer starts an auction on an item
  • Participants submit bids to an auction, a new bid has to have a price higher than the current highest bid otherwise it's not allowed.
  • Auctioneer calls the auction (when s/he makes the judgement on her own that there will be no more higher bids coming in). If the current highest bid is higher than the reserved price of the item, the auction is deemed as a success otherwise it's marked as failure. The item sold should be no longer available for future auctions.
  • Participant/Auctioneer queries the latest action of an item by item name. The library should return the status of the auction if there is any, if the item is sold, it should return the information regarding the price sold and to whom it was sold to.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages