python icon indicating copy to clipboard operation
python copied to clipboard

Refactored the code to reduce time complexity

Open SwayamSahu opened this issue 3 years ago • 0 comments

The time complexity now is O(n), which was O(nlogn) with the earlier method.

I am creating a pull request for...

  • [ ] New algorithm
  • [x] Update to an algorithm
  • [ ] Fix an error
  • [ ] Other - Describe below

SwayamSahu avatar Oct 31 '22 18:10 SwayamSahu