Iterator Problems
Master iterator problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 4 problems in this category.
Total Problems: 4
Medium: 4
Showing 4 of 4 problems
Problems
Scroll within this area to browse all problems
#
Title
Difficulty
Iterator LeetCode Problems List
- 341. Flatten Nested List Iterator - Medium - IteratorYou are given a nested list of integers nestedList. Each element is either an integer or a list whose elements may also be integers or other lists. Im... Topics: Stack, Tree, Depth-First Search, Design, Queue, Iterator
- 173. Binary Search Tree Iterator - Medium - IteratorImplement the BSTIterator class that represents an iterator over the in-order traversal of a binary search tree (BST): BSTIterator(TreeNode root) Init... Topics: Stack, Tree, Design, Binary Search Tree, Binary Tree, Iterator
- 936. RLE Iterator - Medium - IteratorWe can use run-length encoding (i.e., RLE) to encode a sequence of integers. In a run-length encoded array of even length encoding (0-indexed), for al... Topics: Array, Design, Counting, Iterator
- 284. Peeking Iterator - Medium - IteratorDesign an iterator that supports the peek operation on an existing iterator in addition to the hasNext and the next operations. Implement the PeekingI... Topics: Array, Design, Iterator
Related LeetCode Topics
- Array LeetCode Problems
- Backtracking LeetCode Problems
- Biconnected Component LeetCode Problems
- Binary Indexed Tree LeetCode Problems
- Binary Search LeetCode Problems
- Binary Search Tree LeetCode Problems
- Binary Tree LeetCode Problems
- Bit Manipulation LeetCode Problems
- Bitmask LeetCode Problems
- Brainteaser LeetCode Problems
- Breadth-First Search LeetCode Problems
- Bucket Sort LeetCode Problems
- Combinatorics LeetCode Problems
- Concurrency LeetCode Problems
- Counting LeetCode Problems
- Counting Sort LeetCode Problems
- Data Stream LeetCode Problems
- Database LeetCode Problems
- Depth-First Search LeetCode Problems
- Design LeetCode Problems