Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@
<img src="src/images/banner.webp" alt="leetcode cheatsheet banner" width="768" height="420">
</p>

- big o time/space complexities
- code templates
- data structure implementations
- sorting algorithms
## LeetCode Cheatsheet
A comprehensive cheatsheet for LeetCode enthusiasts, featuring essential algorithms, data structures, and problem-solving techniques.

## Features
- Big O time and space complexities for common algorithms
- Code templates for frequently used algorithms
- Implementations of various data structures
- Sorting algorithms with explanations

## Building the Project
To build the LeetCode Cheatsheet project, follow these steps:

```bash
$ npm run build
```

## License

This project is released under the GNU GPL License - see the [LICENSE](LICENSE) file for details
8,133 changes: 8,133 additions & 0 deletions docs/assets/index-BWzx3p3d.js

Large diffs are not rendered by default.

6,739 changes: 0 additions & 6,739 deletions docs/assets/index-CCPfFMQM.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/index-DqUlzqnG.css

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/index-or45TzHb.css

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<!DOCTYPE html>
<html lang="en" data-theme="light">
<head>
<title>LeetCode Cheatsheet</title>
<meta charset="utf-8">
<meta name="description" content="LeetCode Cheatsheet" />
<meta name="viewport" content="initial-scale=1, width=device-width" />
<meta property="og:site_name" content="LeetCode Cheatsheet" />
<meta property="og:title" content="LeetCode Cheatsheet" />
<meta property="og:description" content="lol algorithms" />
<meta property="og:image" content="https://jwl-7.github.io/leetcode-cheatsheet/favicon/android-chrome-512x512.png" />
<meta property="og:url" content="https://jwl-7.github.io/leetcode-cheatsheet/" />
<link rel="apple-touch-icon" sizes="180x180" href="https://jwl-7.github.io/leetcode-cheatsheet/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://jwl-7.github.io/leetcode-cheatsheet/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://jwl-7.github.io/leetcode-cheatsheet/favicon/favicon-16x16.png">
<link rel="manifest" href="https://jwl-7.github.io/leetcode-cheatsheet/favicon/site.webmanifest">
<!DOCTYPE html>
<html lang="en" data-theme="light">

<head>
<title>LeetCode Cheatsheet</title>
<meta charset="utf-8">
<meta name="description" content="LeetCode Cheatsheet" />
<meta name="viewport" content="initial-scale=1, width=device-width" />

<meta property="og:site_name" content="LeetCode Cheatsheet" />
<meta property="og:title" content="LeetCode Cheatsheet" />
<meta property="og:description" content="lol algorithms" />
<meta property="og:image" content="/leetcode-cheatsheet/favicon/android-chrome-512x512.png" />
<meta property="og:url" content="/leetcode-cheatsheet/" />

<link rel="apple-touch-icon" sizes="180x180" href="/leetcode-cheatsheet/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/leetcode-cheatsheet/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/leetcode-cheatsheet/favicon/favicon-16x16.png">
<link rel="manifest" href="/leetcode-cheatsheet/favicon/site.webmanifest">

<style>
:root {
/* --initial-background-color: #2c292d; */
Expand Down Expand Up @@ -113,22 +113,22 @@
transform: translateX(calc(-1 * (var(--pacman-size) * 2.5)));
}
}
</style>
<script type="module" crossorigin src="https://jwl-7.github.io/leetcode-cheatsheet/assets/index-CCPfFMQM.js"></script>
<link rel="stylesheet" crossorigin href="https://jwl-7.github.io/leetcode-cheatsheet/assets/index-DqUlzqnG.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<div class="pacman-loader">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</body>
</html>
</style>
<script type="module" crossorigin src="/leetcode-cheatsheet/assets/index-BWzx3p3d.js"></script>
<link rel="stylesheet" crossorigin href="/leetcode-cheatsheet/assets/index-or45TzHb.css">
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root">
<div class="pacman-loader">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</body>

</html>
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<meta property="og:site_name" content="LeetCode Cheatsheet" />
<meta property="og:title" content="LeetCode Cheatsheet" />
<meta property="og:description" content="lol algorithms" />
<meta property="og:image" content="https://jwl-7.github.io/leetcode-cheatsheet/favicon/android-chrome-512x512.png" />
<meta property="og:url" content="https://jwl-7.github.io/leetcode-cheatsheet/" />
<meta property="og:image" content="/leetcode-cheatsheet/favicon/android-chrome-512x512.png" />
<meta property="og:url" content="/leetcode-cheatsheet/" />
Copy link
Author

@shivabhusal shivabhusal Nov 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

converts URL to relative path


<link rel="apple-touch-icon" sizes="180x180" href="/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon/favicon-32x32.png">
Expand Down
Loading