Tag: algorithms
All the articles with the tag "algorithms".
-
Top 5 Famous Queue Problems in Competitive Programming (With C++ Solutions)
Master the 5 most famous Queue and Deque problems in competitive programming and coding interviews: Implement Queue Using Stacks, Number of Recent Calls, Binary Tree Level Order Traversal, Rotten Oranges (BFS), and Sliding Window Maximum (Monotonic Deque)—complete with C++ code and dry runs.
-
Top 5 Famous Stack Problems in Competitive Programming (With C++ Solutions)
Master the 5 most famous Stack problems in competitive programming and coding interviews: Valid Parentheses, Min Stack, Next Greater Element, Daily Temperatures, and Largest Rectangle in Histogram—complete with C++ code, dry runs, and monotonic stack diagrams.