Big O Notation (Time & Space Complexity)
Understanding time and space complexity is crucial for programmers to write efficient code. Time complexity measures how long a program takes to run, while space complexity measures the memory space it uses. Writing efficient code or inefficient code and somebody who’s aiming to enter into a product based company must …
Data Structure & Algorithms in iOS
Introduction to DSA in iOS In the tutorial I will introduces data structures and algorithms, emphasising the importance of data structure algorithms using Swift as step by step procedures. What are the benefits of learning algorithm? Algorithms are the blueprint for solving problems with software. Here are the main benefits …
MVVM with Co-ordinator
MVVM (Model-View-ViewModel) Purpose: Separate business logic, UI and data to improve testability and structure. 1. Model 2. View 3. ViewModel Coordinator Pattern Purpose: Decouples navigation logic from view controllers. This helps to: Coordinator Responsibilities:
SOLID Principle
The SOLID principles are five design principles that help create maintainable, scalable, and testable software. 1. Single Responsibility Principle (SRP) A class should have only one reason to change (i.e only one responsibility). Example (Violating SRP) Example (Following SRP) 2.Open/Closed Principle A class should be open for extension but closed …