Paras Sharma
40 posts

Paras Sharma
@Parass227
Backend engineering • DSA • AI Learning system design & building scalable apps ⚡
Jalandhar, Punjab انضم Mayıs 2024
67 يتبع14 المتابعون

Day 17 DSA Progress ⚡
Heavy revision day -- 21 problems across 4 topics
1) Basic Recursion (9/9)
2) Basic Hashing (3/3)
3) Sorting -- Selection, Bubble, Insertion, Merge, Quick (7/7)
4) Array problems -- Largest & Second Largest (2/40)
#buildinpublic #dsa



English

Day 17 Dev Progress 🛠️
Added WebSocket so that result can be returned back to the frontend in real time after user submits the code.
Got the basic connection working. Learning about redis pub/sub to make it more efficient.
#buildinpublic #webdev



English

@ray_kovalev I’m learning these algorithms to strengthen my problem solving skills. The exact problems might not appear in production, but the concepts behind them helps when optimizing applications, choosing the right data structures, and designing efficient systems.
English

@Parass227 where do you plan to use these algorithms? do you have any plans on them?
English

Day 15 DSA Progress ⚡
Learnt 3 Hard string algorithms today:
1) Rabin Karp Algorithm
2) Z Function
3) KMP Algorithm (LPS Array)
These were hard to understand but finally got hold on it
#buildinpublic #dsa

English

Day 16 DSA Progress ⚡
Refreshing the fundamentals -- Basic Maths
Completed all 7 problems:
1) Count all Digits of a Number
2) Reverse a Number
3) Palindrome Number
4) GCD of Two Numbers
5) Armstrong Number
6) Print all Divisors
7) Check for Prime Number
#buildinpublic #dsa

English

Day 16 Dev Progress 🛠️
Judge service is fully working!
User submits code -> stores in DB -> pushed to Redis queue -> worker picks it up -> executes code async -> updates DB with final verdict.
Compile errors, runtime errors & TLE all handled properly
#buildinpublic #WebDev



English

Day 15 Dev Progress 🛠️
Built the Submission model & logic today which stores the submission(code,problemId,etc) of a problem.
Now the worker receives just a submission ID fetches the code, executes it.
#buildinpublic #webdev



English

@0armaan025 Thanks! Just trying to stay consistent and be better
English

Day 14 DSA Progress ⚡
Started Advanced Strings
1) Minimum Bracket Reversals to Balance an Expression
2) Count and Say
3) Hashing in Strings (Theory)
Next up: Rabin Karp, KMP & other string algorithms
#buildinpublic #dsa


English

Day 13 Progress ⚡
DSA: Solved 2 Trie problems:
1) Maximum XOR of Two Numbers in an Array
2) Maximum XOR with an Element from an Array
Starting Strings now
Dev:
Implemented Redis + BullMQ and entire code execution now runs through the worker queue
#buildinpublic #dsa #webdev



English

Day 12 Dev progress ⚡
Set up Redis + Queue Worker for the judge service today.
Connection between Node.js and Redis is up
Also cleaned up the submission code.
Next: wiring the worker to the queue so it actually picks up & runs submitted code
#buildinpublic #webdev

English

Day 12 DSA progress ⚡
Finally learning & implementing Tries
1) Trie Implementation & Operations
2) Longest Word with All Prefixes
3) Distinct Substrings in a String
4) Bit Prerequisites for Tries
learnt how Tries can be used for above questions.
#buildinpublic #dsa

English

Day 11 Progress ⚡
Full learning day today --
DSA:
Dived into Tries --
Learnt the core structure & implementation from scratch.
Dev:
Explored how to integrate Workers & Redis into the judge service for a proper async code execution flow
#buildinpublic #dsa #webdev
English

















