Bur's blog

By Bur, history, 4 years ago, In English

Hello! Until now I always looked at keyboard while coding and typed with 4 fingers, so I decided to learn how to type fast. Are standart schemes from internet are suitable for fast coding or it should be something special? Could anyone help me? ;)

Full text and comments »

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

By Bur, history, 6 years ago, In English

This problem I meet very often: there is a set, in which we can add element, also we can erase any element. The problem is to count the number of elements less then x.

Sure, the problem can be solved with treap or something like that, but can it be solved with std::set or other already released data structures?

Any ideas?

Full text and comments »

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