Selection Sort Imagine you have a bunch of numbered blocks that need to be arranged from smallest to
Author: Arun Goel
Sorting Algorithms and About Them
Sorting Algorithms Sorting algorithms are essential tools for organizing data efficiently and minimizing human error in various applications.
Product-Based Companies vs Service-Based Companies
PRODUCT BASED COMPANY A product-based company focuses on creating and selling products. These products can be tangible, like
Design Principles I wish I had known earlier
1. Single Responsibility Principle (SRP) Ensures that a class or module has only one job or responsibility. This
Inheritance
Introduction Examples Java Inheritance Example Why do we use inheritance? Limitations with Inheritance Extending a class is the
Association
Introduction The association describes the relationships or connections between various objects. It represents a general relationship between objects
Composition
Introduction Code Why Composition over Inheritance? One of the main reasons to prefer composition over inheritance is to
Aggregation
Introduction The below diagram represents an Aggregation example. The above example can be interpreted as the College has
Coins in a line problem
Coins in a Line Question Link Problem Statement : There are A coins (Assume A is even) in