Groups
Category
Level
Depth-First Search (DFS) explores a graph by going as deep as possible along each path before backtracking.
A stack is a Last-In, First-Out (LIFO) data structure where push, pop, and top operations run in O(1) time.