UML Relationships

Association Are related but can exist independently.Eg: Professor teaches Students. Aggregation Weak ‘has-a’ relationship.Eg: Department has Professors, but Professors exists independently. Composition Strong ‘has-a’ relationship.Eg: House has Rooms, Rooms can’t exist independently. Inheritance ‘is-a’ relationship.Eg: Dog is Animal. Dependency A class depends on another for its functionality.Eg: Printer depends on Document. Realization A class implementing […]

Year 2025!

Well, this year I am planning big again haha – heads down and execute.Want to read a lot, get a new job!Excited for this year 🙂

Arrays

Arrays are Linear Data Structures with elements of same type stored in contiguous memory locations Why we even need arrays? Input/Output – Update Arrays Passing Arrays to Functions Linear Search Binary Search Reversing an array Print Pairs Print Subarrays Largest Subarray Sum Brute Force Prefix Sum Kadane’s Algorithm Vectors

Hello World!

I have been planning to start writing a blog to document my learnings and life. I wanted to start writing to clear my thoughts. So, here it is. Well, Why WordPress.com then? Answering that, I have tried using other blogging platforms like Hugo, Jekyll. You can host them for free on Netlify or GitHub Pages, […]