SUMANRAJ BERA (@srbera17) header
SUMANRAJ BERA (@srbera17) profile picture

Software dev learning out loud. Computers, tech & everything in between. DMs open.

Mumbai
Joined December 2017
Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)Photo by SUMANRAJ BERA (@srbera17)
Today's DSA problem needed tree thinking, and I couldn't see it without the structure. Data structure fundamentals start tomorrow. Auth design: a /refresh route plus a client interceptor beats middleware, which causes race conditions on concurrent requests. #buildinpublic #DSA
4
Closed out the sliding window series with a hard problem, solved on my own. Small known key space means an array of 26 beats a set. Auth: login controller plus a tokenGenerator util for access and refresh tokens. #buildinpublic #DSA #JWT
1
34
Two sliding window problems solved on my own, from hints to reliable after weeks of repetition. Stats: hypothesis testing basics, null vs alternate, CLT, and the significance level. Token auth gets implemented tomorrow. #buildinpublic #DSA #Statistics
6
Sliding window again: went from brute force to optimised myself. The window carries the count forward instead of recounting, so O(n²) becomes one pass. Pandas: concat stacks, merge matches columns, join aligns the index. #buildinpublic #DSA #Python
12
Half pass today: knapsack-style problem, recursion + DP cleared most test cases but four failed. DP goes on the focused study list. Reached for memoization myself this time. Pandas: join() aligns on index, merge() on columns. #buildinpublic #DSA #Python
6
Daily LeetCode done. Pandas merge(): SQL-style joins on a shared column, inner vs left decides what happens to unmatched rows. Revised access and refresh token auth, implementing tomorrow. #buildinpublic #DSA #Python
8
Longest common prefix solved on my own: brute force first, then trimmed what the answer never needed. Pandas: concat() with axis for direction, ignore_index=True for a clean index. #buildinpublic #DSA #Python
7
Daily LeetCode: nested loops were the right answer, since the constraints were small. Knowing when a pattern earns its place is the skill. More pandas revision before moving forward. #buildinpublic #DSA #Python
6
OOP-style design problem: prefix sum was the optimised route, but constraints were small so plain loops passed. Read constraints first. Pandas revision: groupby, pivot_table, crosstab. #buildinpublic #DSA #Python
7
Medium sliding window solved on my own, pattern retained without help. Pandas: pivot tables summarise, crosstab counts combinations, cut buckets numbers into ranges. #buildinpublic #DSA #Python
6
Medium greedy problem: found two of three cases on my own, needed help with the third. In greedy, the cases are the whole problem. Pandas groupby: split, apply, combine. Project: auth middleware and getMe route. #buildinpublic #DSA #Python
1
33
400 days in. Sick today, so only light DSA and the daily tasks. Not the day I’d pick for a milestone, but showing up on low-energy days is the version of consistency that counts. #buildinpublic #100daysofcode #DSA
3
2
49
Daily LeetCode: the even partition only needed length 2. More examples showed it. Pandas: value_counts(normalize=True), plus corr() vs cov(). New notebook, Pandas_Class5. #buildinpublic #DSA #Python
1
135
No new DSA, just revising old problems. Drew the ER diagram for the project’s database before writing any schema. Pandas: describe() gives the five number summary from Day 354 in one line. #buildinpublic #DSA #Python
1
1
61
Easy but tedious LeetCode: split a string into groups of k, pad the last. Careful implementation over clever ideas. Pandas sorting: sort_values with a list for ascending per column, and sort_index(). #buildinpublic #DSA #Python
8
Sliding window subarray problem: I assumed a fixed size, but the window was variable, expanding and shrinking with the condition. Pandas filtering revised in one notebook: boolean indexing, query(), .str #buildinpublic #DSA #Python
9
Simple DSA day. Quiet days keep the streak alive. Pandas README: .str accessor for column-wide text cleaning, and query() for readable filtering, no parentheses needed. #buildinpublic #DSA #Python
9
Easy problem: longest increasing or decreasing substring, two sliding windows side by side, each resets when its order breaks. Pandas boolean indexing: &, |, ~ with mandatory parentheses, not and/or. #buildinpublic #DSA #Python
2
1
102
Medium problem, 40% acceptance, smooth because I read carefully first. Split into independent cases (separate vs combined pricing), took the minimum. Pandas cleaning revised in one notebook: nulls, types, replace, drop, duplicates. #buildinpublic #DSA #Python
14
Recursion problem: right logic, solved on my own, but TLE from recomputed subproblems. Lesson: draw the recursion tree first, repeated nodes mean memoization. Pandas: duplicated(), drop_duplicates() with subset and keep. #buildinpublic #DSA #Python
6