shelby70's blog

By shelby70, history, 18 months ago, In English

Problem Link: B. Petr and a Combination Lock

Solution Link: Click Here...

Here, Instead of following bitmasks method, I used itertools.combinations() module of Python and got accepted. Can someone please help to find its space and time complexity in worst case scenario? Thank you...

Full text and comments »

  • Vote: I like it
  • -3
  • Vote: I do not like it