About 52,800 results
Open links in new tab
  1. Build an Array With Stack Operations - LeetCode

    Build an Array With Stack Operations - You are given an integer array target and an integer n. You have an empty stack with the two following operations: * "Push": pushes an integer to the …

  2. Design a Stack With Increment Operation - LeetCode

    Design a Stack With Increment Operation - Design a stack that supports increment operations on its elements. Implement the CustomStack class: * CustomStack(int maxSize) Initializes the …

  3. Implement Stack using Queues - LeetCode

    Implement Stack using Queues - Implement a last-in-first-out (LIFO) stack using only two queues. The implemented stack should support all the functions of a normal stack (push, top, pop, and …

  4. Min Stack - LeetCode

    Min Stack - Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Implement the MinStack class: * MinStack() initializes the stack object. * void …

  5. Implement Queue using Stacks - LeetCode

    Implement Queue using Stacks - Implement a first in first out (FIFO) queue using only two stacks. The implemented queue should support all the functions of a normal queue (push, peek, pop, …

  6. Implement Stack using Queues - LeetCode

    Can you solve this real interview question? Implement Stack using Queues - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared …

  7. Build an Array With Stack Operations - LeetCode

    Build an Array With Stack Operations - You are given an integer array target and an integer n. You have an empty stack with the two following operations: * "Push": pushes an integer to the …

  8. Implement Stack using Queues - LeetCode

    Implement Stack using Queues - Implement a last-in-first-out (LIFO) stack using only two queues. The implemented stack should support all the functions of a normal stack (push, top, pop, and …

  9. Design Linked List - LeetCode

    Design Linked List - Design your implementation of the linked list. You can choose to use a singly or doubly linked list. A node in a singly linked list should have two attributes: val and next. val …

  10. Design a Stack With Increment Operation - LeetCode

    Can you solve this real interview question? Design a Stack With Increment Operation - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and …

Refresh