Skip to content

Latest commit

Β 

History

83 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Competitive Programming & Algorithmic Problem Solving

GitHub repo size Repository Solutions Language: C++ Language: Python Language: Java

LeetCode Solved CodeChef Solved Codeforces Solved HackerEarth Rank GeeksforGeeks

A growing multi-platform problem-solving archive with 455+ LeetCode solves, 422 CodeChef solves, 306 Codeforces solves, reusable templates, and focused algorithm notes.

πŸ‘€ Profiles β€’ Codeforces β€’ LeetCode β€’ CSES β€’ CodeChef β€’ HackerEarth β€’ HackerRank β€’ GeeksforGeeks β€’ AtCoder β€’ Templates β€’ Notes


πŸ“Œ At a Glance

455
LeetCode solves
422
CodeChef solves
306
Codeforces problems
2,000
HackerEarth points
322
Repository C++ files

Profile statistics and repository metrics in this overview are kept aligned with the linked profiles and this codebase.


πŸ‘€ Competitive Programming Profiles & Standings

Platform Profile Link Handle / Username Key Rating / Standing Solved Count Prestigious Badges & Honors
LeetCode prathamkashyap @prathamkashyap 1550 contest rating 455 solved Rank 253,859 Β· 7 badges
Codeforces prathamkashyap @prathamkashyap 815 (Newbie) 306 unique solved 280 in last year Β· 100 last month
CodeChef prathamkashyap @prathamkashyap 922 overall Β· 1067 DSA 422 solved 3 contests Β· Diamond League Level 5
HackerEarth prathamkashyap @prathamkashyap 2,000 points 83 solved / 103 submitted Top 1% Basic Programming
HackerRank prathamkashyap @prathamkashyap Problem Solving badge Recent accepted C++ submissions C++, Java, Python, SQL badges
GeeksforGeeks prathamkashyap @prathamkashyap New profile Starting point Ready for future practice

πŸ“Š Solved Problems Matrix

Platform Solved / Activity Progress Snapshot
LeetCode 455 160 Easy Β· 232 Medium Β· 63 Hard Β· Rating 1550
Codeforces 306 280 last year Β· 100 last month Β· 68-day max streak
CodeChef 422 Rating 922 Β· DSA 1067 Β· 3 contests Β· 66/100 days
HackerEarth 83 103 submissions Β· 2,000 points Β· Top 1% Basic Programming
HackerRank Active Problem Solving, C++, Java, Python, SQL badges
GeeksforGeeks Starting point Profile created; practice roadmap ready
Repository 322 C++ solutions currently checked into this repository

πŸ“‚ Repository Structure

competitive-programming/
β”œβ”€β”€ codeforces/          # 322 C++ solutions categorized by difficulty rating
β”‚   β”œβ”€β”€ 800/             # Fundamental implementation & greedy (83 solutions)
β”‚   β”œβ”€β”€ 900/              # 36 solutions
β”‚   β”œβ”€β”€ 1000/             # 44 solutions
β”‚   β”œβ”€β”€ 1100/             # 39 solutions
β”‚   β”œβ”€β”€ 1200/             # 41 solutions
β”‚   β”œβ”€β”€ 1300/             # 34 solutions
β”‚   β”œβ”€β”€ 1400/             # 5 solutions
β”‚   β”œβ”€β”€ 1500/             # 7 solutions
β”‚   β”œβ”€β”€ 1600/             # 0 solutions
β”‚   β”œβ”€β”€ 1700/, 1800/, 2000/ # 1 solution each
β”‚   └── unrated_questions/ # 30 solutions
β”œβ”€β”€ leetcode/            # LeetCode patterns and profile progress
β”œβ”€β”€ cses/                # CSES roadmap and section tracking
β”œβ”€β”€ atcoder/             # AtCoder roadmap and contest notes
β”œβ”€β”€ codechef/            # CodeChef profile, ratings, and contest progress
β”œβ”€β”€ hackerearth/         # Practice tracks and profile achievements
β”œβ”€β”€ hackerrank/          # Skills, badges, and submission highlights
β”œβ”€β”€ geeksforgeeks/       # GeeksforGeeks profile and practice roadmap
β”œβ”€β”€ templates/           # Reusable CP boilerplate & data structure templates
β”‚   β”œβ”€β”€ cpp/             # C++ Fast I/O, DSU, Segment Tree, Sieve, Fenwick Tree
β”‚   β”œβ”€β”€ python/          # Python fast I/O & math utility templates
β”‚   └── java/            # Java FastScanner & FastWriter templates
└── notes/               # Curated algorithmic notes, cheat sheets & complexity tables

⚑ Quick Start & Compilation

C++20 Standard Build Flag

g++ -std=c++20 -O2 -Wall -Wextra -Wshadow -DLOCAL solution.cpp -o solution
./solution < input.txt

Fast I/O Snippet

#include <iostream>
using namespace std;

void fast_io() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);
    cout.tie(nullptr);
}

πŸ› οΈ Reusable CP Templates

Located in /templates:

Template Language Complexity Direct Link
Fast I/O & Universal CP Boilerplate C++20 $O(1)$ template.cpp
Disjoint Set Union (DSU) C++20 $O(\alpha(N)) \approx O(1)$ dsu.cpp
Segment Tree (Point Update, Range Query) C++20 $O(\log N)$ segment_tree.cpp
Fenwick Tree (Binary Indexed Tree) C++20 $O(\log N)$ fenwick_tree.cpp
Linear Sieve & Prime Factorization (SPF) C++20 $O(N)$ build, $O(\log K)$ factor sieve_prime.cpp
Modular Arithmetic & Combinations C++20 $O(\log MOD)$ power / inverse modular_arithmetic.cpp
BFS, Topological Sort & Dijkstra C++20 $O(V + E)$ to $O((V+E)\log V)$ graph_traversal.cpp
Prefix & Difference Arrays C++20 $O(1)$ query/update after $O(N)$ build prefix_sums.cpp
Sliding Window & Prefix Frequency C++20 $O(N)$ amortized sliding_window.cpp
Python CP Template Python 3 Optimized Fast I/O template.py
Java CP Template Java Custom FastScanner & FastWriter Template.java

πŸ“– Theory & Cheat Sheets

Explore quick revision guides in /notes:


🀝 Connect

Designed & Maintained with πŸ’» and β˜• by Pratham Kashyap.

About

Multi-platform competitive programming solutions, reusable DSA templates, and algorithmic revision notes in C++, Python, and Java.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages