Gyanthakur / LeetCode_potd

16 stars 34 forks source link

Updated potd_15_10_2024.cpp #39

Closed viraj200524 closed 1 week ago

viraj200524 commented 1 week ago

Description

Updated the code file for potd of october 2024, file name -> potd_15_10_2024.cpp for optimized solution for problem of the day with Time Complexity of O(n) and space Complexity of O(1).

Fixes: #[issue_number] (replace with the issue number, if applicable)

Use [x] to represent a checked (ticked) box.✅ Use [ ] to represent an unchecked box.❌

Type of Change

How to Test

Provide a brief description of how to test your changes. Include steps, commands, or screenshots if necessary.

  1. Step 1 -> create a .cpp file for the code
  2. Step 2 -> execute the code on command line or any code editor
  3. Step 3

Checklist

Additional Notes

Please add any other information that is relevant to this pull request, including potential risks, alternative solutions considered, or future improvements.

Gyanthakur commented 1 week ago

You are not following my account.

viraj200524 commented 1 week ago

@Gyanthakur i have followed your account now.