Skip to content

Repository for October LeetCoding Challenge 2024, featuring daily solutions with code and question links for each problem.

License

Notifications You must be signed in to change notification settings

Sahilll94/October-LeetCoding-Challenge-2024-Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

October-LeetCoding-Challenge-2024-Solution

October Badge

Welcome to the October LeetCoding Challenge 2024 repository! This repo is dedicated to providing daily solutions for each challenge question along with the question links, making it easier for LeetCoders to learn and follow along.

About

October Badge This repository contains:

  • Solutions to each day's question in the October 2024 LeetCoding Challenge.
  • Links to the original LeetCode questions, allowing you to quickly access the problem statement and try it out on your own.

Structure

Each day’s challenge will be organized in its own file, containing:

  • The question link.
  • A well-commented solution to help you understand the approach.

Solutions in Sequence

  1. 1_Check If Array Pairs Are Divisible by k.cpp
  2. 2_Rank Transform of an Array.cpp
  3. 3_Make Sum Divisible by P.cpp
  4. 4_Divide Players Into Teams of Equal Skill.cpp
  5. 5_Permutation in String.cpp
  6. 6_Sentence Similarity III.cpp
  7. 7_Minimum String Length After Removing Substrings.cpp
  8. 8_Minimum Number of Swaps to Make the String Balanced.cpp
  9. 9_Minimum Add to Make Parentheses Valid.cpp
  10. 10_Maximum Width Ramp.cpp
  11. 11_The Number of the Smallest Unoccupied Chair.cpp
  12. 12_Divide Intervals Into Minimum Number of Groups.cpp
  13. 13_Smallest Range Covering Elements from K Lists.cpp
  14. 14_Maximal Score After Applying K Operations.cpp
  15. 15_Separate Black and White Balls.cpp
  16. 16_Longest Happy String.cpp
  17. 17_Maximum Swap.cpp
  18. 18_Count Number of Maximum Bitwise-OR Subsets.cpp
  19. 19_Find Kth Bit in Nth Binary String.cpp
  20. 20_Parsing A Boolean Expression.cpp
  21. 21_Split a String Into the Max Number of Unique Substrings.cpp
  22. 22_Kth Largest Sum in a Binary Tree.cpp
  23. 23_Cousins in Binary Tree II.cpp
  24. 24_Flip Equivalent Binary Trees.cpp
  25. 25_Remove Sub-Folders from the Filesystem.cpp
  26. 26_Height of Binary Tree After Subtree Removal Queries.cpp
  27. 27_Count Square Submatrices with All Ones.cpp
  28. 28_Longest Square Streak in an Array.cpp
  29. 29_Maximum Number of Moves in a Grid.cpp
  30. 30_Minimum Number of Removals to Make Mountain Array.cpp
  31. 31_Minimum Total Distance Traveled.cpp

Repository Goals

This repo is designed to help:

  • LeetCode enthusiasts who want a quick reference for daily challenges.
  • Learners looking to improve their problem-solving skills with clear and structured solutions.

How to Use

  1. Clone or download this repository.
  2. Navigate to the folder for the specific day you want to view.
  3. Each file will include the question link and solution.

Contributing

Feel free to suggest improvements or alternative solutions by creating a pull request. Contributions are always welcome!

License

This repository is licensed under the MIT License. Feel free to use the solutions for learning purposes.

Happy coding and best of luck with the October LeetCoding Challenge!

About

Repository for October LeetCoding Challenge 2024, featuring daily solutions with code and question links for each problem.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages