Skip to content
Viki's Corner
Design a Parking Lot
Initializing search
Vikramadtya/study-saathi
Home
Algorithmic Patterns
Low Level Design
System Design
Notes
Code Scratch
Viki's Corner
Vikramadtya/study-saathi
Home
Algorithmic Patterns
Algorithmic Patterns
Sort
Sort
Bubble Sort
Counting Sort
Insertion Sort
Merge Sort
Pigeon Hole Sort
Quick Sort
Selection Sort
Search
Search
The Binary Search Master Guide
The Rotated Sorted Array Master Guide
Arrays
Arrays
Arrays
Boyer-Moore Majority Vote Algorithm
Kadane’s Algorithm
Triple Reverse algorithm aka Reversal Algorithm
Linked list
Linked list
Cycle Detection
Linked List
Sorting
Stack
Stack
Monotonic Stack
Stack
Monotonic Stack
Reversing an Array
Stack
Tower of Hanoi
Queue
Queue
Deques
Priority Queue
Queue
Heap
Heap
Binary Heap
Binomial Heap
Heap
Tree
Tree
Binary Tree Traversal
Centre of gravity
Diameter of Tree
Shortest Path
Graph
Graph
Cycle detection
Graph
Topological Sort
Tree Traversal
Partitioning
Partitioning
Max Consecutive Ones
Hoare's Partition Scheme
Lomuto partition Scheme
Numerical algorithms
Numerical algorithms
Finding If Number is Prime
GCD of two numbers
Performing Exponentiation
Prime Numbers
Randomising Data
Miscellaneous
Miscellaneous
Finding the majority element
Rotate array by K steps
Low Level Design
Low Level Design
Object-Oriented Programming (OOP): A Comprehensive Guide
Class Design
Class Design
Solid
Solid
D : Dependency Inversion
I : The Interface Segregation Principle
L : The Liskov Substitution Principle
O : The Open/Closed Principle
S : The Single Responsibility Principle
Clean Code
Clean Code
Don't Repeat Yourself (DRY) Principle
Keep it Simple, Stupid (KISS) Principle
You Aren't Gonna Need It (YAGNI) Principle
Design pattern
Problems
Problems
Design a Library Management System (LMS)
Design a Parking Lot
UML
UML
UML Activity Diagrams: Modeling Process and Workflow
UML Class Diagrams: Static Structure Modeling
UML Sequence Diagrams: Modeling Dynamic Interactions
Use Case Diagrams: Functional Requirement Modeling
System Design
System Design
About
Vertical vs Horizontal Scaling
Database Selection Strategy
Database Scaling
Load Balancing
Stateless vs Stateful Systems
Notes
Notes
Prompt Engineering for LLMs
Prompt Engineering for LLMs
Introduction to Prompt Engineering
Understanding LLMs
AI
AI
AI Skills
MCP
Docker
Docker
🐳 Docker Foundation: Concepts & Architecture
🐳 The Definitive Guide to Basic Docker Commands
The Docker Engine: Architecture and Evolution
🐳 Mastering Docker Images: The Comprehensive Guide
🐳 Working with Containers
Containerizing an Application
Multi-Container Orchestration with Docker Compose
Misc
Misc
Java
Java
Java/JVM architecture
Java Object Anatomy: What lives in Memory?
The Java Dev Environment That Just Works
Understanding the Servlet Ecosystem: From Tomcat to Micronaut
Network
Network
DNS
HTTP
IP Address
The Comprehensive DNS Master Guide: Architecture, Protocol, and Governance
The OSI Reference Model: A Comprehensive Guide
The TCP/IP Stack: The Architecture of the Internet
Others
Others
Examples
Resources
Logs
REST API Design Cookbook
REST API Design Cookbook
Hello World Wide Web
Identifier Design with URIs
Interaction Design with HTTP
Metadata Design: HTTP Headers and Media Types
Representation Design: Resource State and Hypermedia
Client-Side Concerns and Infrastructure
Java
Java
Arrays
Data Structures
List
Math Operation
Binary Search
Sorting
String Operation
Code Scratch
Code Scratch
LeetCode Solutions
LeetCode Solutions
easy
easy
88. Merge Sorted Array (In-Place)
118. Pascal's Triangle
121. Best Time to Buy and Sell Stock
Replace Elements with Greatest Element on Right Side
medium
medium
215. Kth Largest Element in an Array
137. Single Number II
73. Set Matrix Zeroes
Merge Intervals
hard
hard
121. Best Time to Buy and Sell Stock
122. Best Time to Buy and Sell Stock II
189. Rotate Array
25. Reverse Nodes in k-Group
26. Remove Duplicates from Sorted Array
27. Remove Element
274. H-Index
42. Trapping Rain Water
51. N-Queens
55. Jump Game
80. Remove Duplicates from Sorted Array II
88. Merge Sorted Array
misc
misc
Calculate Floor & Ceiling
Find Nth Root Of M
Flatten A Linked List
Implement Lower Bound
Implement Upper Bound
Number of occurrence
TakeUForward Solutions
TakeUForward Solutions
Sorting
Sorting
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Selection Sort
Arrays
Arrays
Fundamentals
Fundamentals
Largest Element in an Array
Second Largest Element in an Array
Check if Array is Sorted
Left Rotate Array by One
Array Rotation (Left and Right)
Linear Search
Max Consecutive Ones
Single Number
Logic Building
Logic Building
Remove Duplicates from Sorted Array
Move Zeros to End
Missing Number
FAQs (Medium)
FAQs (Medium)
3Sum
4Sum
Maximum Subarray
Leaders in an Array
Majority Element
Next Permutation
Get specific element from Pascal's Triangle
Pascal's Triangle II (Row Generation)
Generate Pascal's Triangle (Full)
Spiral Matrix Traversal
Rearrange Array Elements by Sign
Rotate Image
Sort Colors (Dutch National Flag)
Two Sum
FAQS (Hard)
FAQS (Hard)
Count Inversions in an Array
Find the repeating and missing number
Majority Element II
Maximum Product Subarray
Merge Sorted Array (In-Place)
Reverse Pairs
Hashing
Hashing
Theory
FAQs
FAQs
Subarray Sum Equals K
Count Subarrays with Given XOR K
Largest Subarray with 0 Sum
Longest Consecutive Sequence
Longest Subarray with Sum K
Binary Search
Binary Search
Fundamentals
Fundamentals
Lower Bound
Binary Search
Upper Bound
Logic Building
Logic Building
Count Occurrences in a Sorted Array
Find Minimum in Rotated Sorted Array
Find out how many times the array is rotated
Find First and Last Position of Element in Sorted Array
Floor and Ceil in Sorted Array
Kth Missing Positive Number
Search in Rotated Sorted Array
Search in Rotated Sorted Array II (With Duplicates)
Search Insert Position
Single Element in a Sorted Array
On answers
On answers
Capacity To Ship Packages Within D Days
Find Nth Root of M
Find Square Root of a Number
Smallest Divisor Given a Threshold
Koko Eating Bananas (Minimum Rate)
Minimum Days to Make M Bouquets
Painter's Partition Problem
Split Array Largest Sum
FAQs
FAQs
Aggressive Cows
Allocate Books
Find Peak Element
Kth element of 2 sorted arrays
Minimise Max Distance to Gas Stations
Split Array - Largest Sum
2D Arrays
2D Arrays
Find row with maximum 1's
Search in a 2D matrix
Recursion
Recursion
Implementation Problems
Implementation Problems
Generate Parentheses
Power Function: pow(x, n)
Subsets (The Power Set)
Subsequence Pattern Problems
Subsequence Pattern Problems
Subsequence Sum Existence
Count all subsequences with sum K
FAQs (Medium)
FAQs (Medium)
Combination Sum II (Unique Combinations)
Combination Sum (Unbounded)
Subset Sums
Letter Combinations of a Phone Number
String
String
Isomorphic Strings
Largest Odd Number in String
Longest Common Prefix
Reverse Words in a String
Design a Parking Lot
¶
Comments
Back to top