Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

RomeoFantastik's blog

By RomeoFantastik, history, 6 weeks ago, In English,

Solving the Smallest K integers coding interview question in a different unexpected style: using a drwaing table.

Enjoy!

 
 
 
 
  • Vote: I like it
  • +12
  • Vote: I do not like it

»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

There is an algorithm which does this even in linear time, based on Quick Sort. Thinking about doing a video on that to