Skip to content

sushildalavi/LeetCode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions and Interview Prep

This repository is my long-term DSA and interview prep workspace. Accepted solutions are synced from LeetCode through LeetSync, and the tracked sheet progress in this README is refreshed automatically from the synced problem folders and files.

Profiles

🚀 NeetCode Profile
LeetCode LeetCode Profile

Prep Roadmap

  1. Finish NeetCode 150
  2. Move to NeetCode 250
  3. Complete Striver's SDE Sheet
  4. Continue with regular DSA practice for revision, speed, and pattern recognition

Progress

Track Solved Total Progress
NeetCode 150 3 150 2.0%
NeetCode 250 3 250 1.2%
Striver's SDE Sheet (LeetCode-backed) 3 117 2.6%

Tracked unique problems solved across all sheets: 4 / 293

How This Repo Updates

  • Solve on LeetCode
  • Let LeetSync push the accepted submission into this repository
  • A backup GitHub Action can also pull recent accepted submissions directly from LeetCode when LEETCODE_COOKIES or LEETCODE_SESSION + LEETCODE_CSRFTOKEN are configured as repo secrets
  • The GitHub Action scans the synced solution names and refreshes the progress table in this README
  • The same workflow creates or updates per-problem notes in notes/problems/, syncs the problem statement, and refreshes the index at notes/INDEX.md
  • If the repo has an OPENAI_API_KEY secret, the workflow also refreshes the summary, data structures list, approach, and complexity directly from your latest synced accepted solution

Knowledge Capture

  • Your solution code is saved by LeetSync
  • A note file is generated automatically for each synced problem with:
    • LeetCode link
    • difficulty
    • topic tags
    • synced problem statement
    • tracked sheet membership
    • synced solution paths
  • If OPENAI_API_KEY is configured as a GitHub Actions secret, the note also gets an auto-generated draft for:
    • problem summary
    • data structures used
    • approach
    • time/space complexity
  • The AI-generated sections are refreshed from the latest synced accepted solution

To save your own approach quickly after solving, use:

python3 scripts/update_problem_note.py two-sum \
  --summary "Find two indices whose values add up to the target." \
  --data-structures "Array, Hash Map" \
  --approach "Use a one-pass hash map to store seen values and check complements." \
  --time "O(n)" \
  --space "O(n)"

Notes

  • NeetCode 150 is a subset of NeetCode 250, so those counts intentionally overlap
  • Striver's SDE Sheet tracking only covers the LeetCode-backed problems from the official sheet
  • If a Striver problem is not solved on LeetCode, LeetSync cannot sync it into this repository
  • For full note automation, add OPENAI_API_KEY as a repository secret in GitHub Actions
  • For backup LeetCode-side syncing without relying only on the extension, add LEETCODE_COOKIES as a repository secret, or add both LEETCODE_SESSION and LEETCODE_CSRFTOKEN

About

LeetCode solutions and interview prep tracker for NeetCode 150/250, Striver's SDE Sheet, and core DSA practice.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages