IC4 | Coding Many follow-ups, the time is Super tight
Anonymous User
787

Got asked to implement a system that can generate unique tokens

This one isn't too bad if you've seen it before, the implementation was pretty straightforward. It's mostly about discussing how to handle probability and unqiueness

The tokens were pretty simple map with just a couple traits, it was more about the followups:

  • make sure the nfts are unique
  • add some kind of weights to the traits to control rarity

found the exact question on a practicing website before the interview: https://offerretriever.com/questions/1

Hope this helps someone who are having an interview with them soon. Their interview time is defintely really tight.

Comments (3)