ashishps_1 Profile Banner
Ashish Pratap Singh Profile
Ashish Pratap Singh

@ashishps_1

Followers
20K
Following
1K
Media
235
Statuses
1K

Founder @algomaster_io Prev SDE-2 @Amazon 210k+ @LinkedIn, 200k+ @YouTube, 60k+ stars @GitHub. Write about coding, dsa, system design and interviews.

Join 100,000+ Readers →
Joined August 2013
Don't wanna be here? Send us removal request.
@ashishps_1
Ashish Pratap Singh
1 year
LeetCode was HARD until I Learned these 15 Patterns:. 1. Prefix Sum.2. Two Pointers.3. Sliding Window.4. Fast & Slow Pointers.5. LinkedList In-place Reversal.6. Monotonic Stack.7. Top ‘K’ Elements.8. Overlapping Intervals.9. Modified Binary Search.10. Binary Tree Traversal.11.
Tweet media one
29
805
6K
@ashishps_1
Ashish Pratap Singh
1 day
👉 If you want to learn DSA and master all the important patterns, check out
0
0
4
@ashishps_1
Ashish Pratap Singh
2 days
Top 20 Git Commands You Should Know:. 1. 𝐠𝐢𝐭 𝐢𝐧𝐢𝐭: Initializes a new Git repository.- Example: git init my-new-project. 2. 𝐠𝐢𝐭 𝐜𝐨𝐧𝐟𝐢𝐠: Set git configuration values like username/email.- Example: git config --global user .name "user123". 3. 𝐠𝐢𝐭 𝐜𝐥𝐨𝐧𝐞:
Tweet media one
4
46
278
@ashishps_1
Ashish Pratap Singh
2 days
👉 Get a FREE System Design Interview Handbook in your inbox by subscribing to my newsletter:
0
0
2
@ashishps_1
Ashish Pratap Singh
3 days
Top 20 System Design Concepts You Should Know:. 1. 𝐂𝐥𝐢𝐞𝐧𝐭-𝐒𝐞𝐫𝐯𝐞𝐫 𝐌𝐨𝐝𝐞𝐥: Core architecture where clients request data and servers respond. 2. 𝐃𝐍𝐒 (𝐃𝐨𝐦𝐚𝐢𝐧 𝐍𝐚𝐦𝐞 𝐒𝐲𝐬𝐭𝐞𝐦): Translates human-readable domain names into IP addresses. 3.
Tweet media one
7
133
659
@ashishps_1
Ashish Pratap Singh
4 days
👉 If you want to learn DSA and master all the important patterns, check out
0
0
6
@ashishps_1
Ashish Pratap Singh
4 days
10 Must-Know Graph Algorithms for Coding Interviews:. 1. Depth First Search (DFS).2. Breadth First Search (BFS).3. Topological Sort.4. Union Find.5. Cycle Detection.6. Connected Components.7. Bipartite Graphs.8. Flood Fill.9. Minimum Spanning Tree.10. Shortest Path. ♻️ Repost to
Tweet media one
6
161
1K
@ashishps_1
Ashish Pratap Singh
5 days
👉 If you want to learn DSA and master all the important patterns, check out
0
0
7
@ashishps_1
Ashish Pratap Singh
5 days
Dynamic Programming was HARD until I Learned these 20 Problems and Patterns:. 1. Fibonacci Sequence.2. Kadane's Algorithm.3. 0/1 Knapsack.4. Unbounded Knapsack.5. Longest Common Subsequence (LCS).6. Longest Increasing Subsequence (LIS).7. Palindromic Subsequence.8. Edit Distance.
5
184
2K
@ashishps_1
Ashish Pratap Singh
6 days
👉 If you want to learn DSA and master all the important patterns, check out
0
0
6
@ashishps_1
Ashish Pratap Singh
6 days
LeetCode was HARD until I Learned these 15 Patterns:. 1. Prefix Sum.2. Two Pointers.3. Sliding Window.4. Fast & Slow Pointers.5. LinkedList In-place Reversal.6. Monotonic Stack.7. Top ‘K’ Elements.8. Overlapping Intervals.9. Modified Binary Search.10. Binary Tree Traversal.11.
Tweet media one
11
442
3K
@ashishps_1
Ashish Pratap Singh
7 days
👉 Get a FREE System Design Interview Handbook in your inbox by subscribing to my newsletter:
0
0
4
@ashishps_1
Ashish Pratap Singh
7 days
Batch vs Stream Processing - What's the difference?. 🔹 𝐁𝐚𝐭𝐜𝐡 𝐏𝐫𝐨𝐜𝐞𝐬𝐬𝐢𝐧𝐠.- Processes data in large chunks (batches) at scheduled intervals. - Ideal for historical data processing, data warehousing, and analytics. - Examples: Payroll processing, periodic reporting,
5
116
683
@ashishps_1
Ashish Pratap Singh
9 days
PS: I write weekly newsletter to help you master System Design interviews. Consider subscribing it here:
0
0
4
@ashishps_1
Ashish Pratap Singh
10 days
Top 10 Database Scaling Techniques You Should Know:. 1. 𝐈𝐧𝐝𝐞𝐱𝐢𝐧𝐠: Create indexes on frequently queried columns to speed up data retrieval. 2. 𝐕𝐞𝐫𝐭𝐢𝐜𝐚𝐥 𝐒𝐜𝐚𝐥𝐢𝐧𝐠: Upgrade your database server by adding more CPU, RAM, or storage to handle increased load. 3.
Tweet media one
5
169
769
@ashishps_1
Ashish Pratap Singh
10 days
PS: I write weekly newsletter to help you master System Design interviews. Consider subscribing it here:
0
0
2
@ashishps_1
Ashish Pratap Singh
10 days
API Gateway Explained:. As your application grows, the number of APIs increases too. Without the right tools and infrastructure, managing these APIs can quickly become a challenge. This is where API Gateway comes into play. It sits between clients (e.g., browsers, mobile apps)
4
30
220
@ashishps_1
Ashish Pratap Singh
10 days
PS: I write weekly newsletter to help you master System Design interviews. Consider subscribing it here:
0
0
2
@ashishps_1
Ashish Pratap Singh
11 days
Top 6 Load Balancing Algorithms You Should Know:. 1. 𝐑𝐨𝐮𝐧𝐝 𝐑𝐨𝐛𝐢𝐧.- Distributes requests sequentially to servers in a list. - Simple, predictable, and works well when servers are roughly equal in capacity. → Best for: Uniform workloads, evenly matched servers. 2.
3
108
515
@ashishps_1
Ashish Pratap Singh
11 days
PS: I write weekly newsletter to help you master System Design interviews. Consider subscribing it here:
0
0
3
@ashishps_1
Ashish Pratap Singh
11 days
S.O.L.I.D principles explained with examples:. 𝐒: 𝐒𝐢𝐧𝐠𝐥𝐞 𝐑𝐞𝐬𝐩𝐨𝐧𝐬𝐢𝐛𝐢𝐥𝐢𝐭𝐲 𝐏𝐫𝐢𝐧𝐜𝐢𝐩𝐥𝐞 (𝐒𝐑𝐏).- A class should have one and only one reason to change. ❌ Bad: A UserManager class that handles authentication, user profiles, and email notifications. ✅
Tweet media one
4
90
484