Skip to content

Latest commit

 

History

History
7 lines (3 loc) · 182 Bytes

File metadata and controls

7 lines (3 loc) · 182 Bytes

LogicDecisions

  • Initially you could arrive at a O(n2) solution with 2 FOR loops
  • Upgrading the logic to a O(n) solution using a dictionary in Python is a good pythonic way