Problems:
What I did:
✔ Practiced using HashMap + PriorityQueue
✔ Solved problem using min-heap (top K frequent)
✔ Used sorted string as key for grouping anagrams
✔ Wrote both problems independently in VSCode
✔ Understood key concepts: Map.Entry, offer, poll, and entrySet
What I learned:
- Frequency maps
- Heap usage in sorting/top-k problems
- Hashing technique for grouping
- Clean and reusable logic with Java collections
Topics Covered:
- TCP Reliability → 3-Way Handshake, sequence/acknowledgment
- UDP Characteristics → connectionless, low overhead-(additional resources needed to run tasks)
- Real-world apps: WhatsApp voice (UDP), YouTube stream (TCP)
Reflection:
✔ Visualized how handshake works
✔ Learned real difference in protocols
✔ Mapped protocols to actual use cases for interviews
What I did:
- Extracted
customer id,name, andlatest transaction amount - Wrote clean function for one customer
- Enhanced to multiple customers using loop
- Printed output in table format
Reflection:
✔ Confident in parsing nested JSON
✔ Better understanding of dictionary traversal
✔ Practiced list of tuples and formatting output
Completed Queries:
- Running total of sales using
SUM() OVER(...) - Rank of each sale using
RANK() OVER(...)
What I learned:
- Window functions for analytic use-cases
- SQL power in breaking down complex logic simply
✅ DSA: HashMap + Heap, Grouping with Key Pattern
✅ CS Concept: TCP/UDP + Handshake
✅ Python: JSON Parsing & Formatting
✅ SQL: Window Function – Running Total, Rank