diff --git a/.github/workflows/scripts/update_readme.py b/.github/workflows/scripts/update_readme.py index d6570dc..5753c45 100644 --- a/.github/workflows/scripts/update_readme.py +++ b/.github/workflows/scripts/update_readme.py @@ -127,9 +127,9 @@ def print_readme(self) -> None: with open("README.md", "r", encoding="utf-8") as readme: content = readme.read() - before_statistics = content.split("### Statistics")[0] + before_statistics = content.split("### Leetcode Statistics")[0] with open("README.md", "w", encoding="utf-8") as readme: - readme.write(before_statistics + "### Statistics\n" + self.generate_statistics()) + readme.write(before_statistics + "### Leetcode Statistics\n" + self.generate_statistics()) if __name__ == "__main__": diff --git a/README.md b/README.md index 029b494..080a28a 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,8 @@ -## Leetcode -This is a repository where I will be saving my solutions to the problems I solve on Leetcode. -I aim to solve the daily challenge everyday and also solve other problems as well. +## Algorithms -### Languages -As I start this repository, I will be using Python and Javascript to solve the problems. As I get more comfortable solving leetcode problems, I will start using using C++ and Java as well. -Note: with python submissions, the leetcode runtime and memory usage varies drastically. One solution may can get a 5% time submission and at the same time an 80% time submission. ### Structure -The structure of the repository is as follows: +The structure of the repository: ``` ├── Daily Challenges │ ├── 2023 @@ -23,7 +18,7 @@ The structure of the repository is as follows: | | ├── wa_tor.py ├── Advent of Code -| ├── Python +| ├── 2023 | | ├── day_one.py ``` @@ -33,7 +28,7 @@ The solutions provided here are not the only solutions to the problems. There ar My solutions may not be the most optimal solutions. I will try to improve them as I learn more about the problems and the languages I am using. -### Statistics +### Leetcode Statistics #### Daily challenges by month | Month | Daily Challenges | |----------|--------------------|