-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Some problems require implementation Structures that tested with method call sequence.
Example: leetcode id 380.
Input
["RandomizedSet", "insert", "remove", "insert", "getRandom", "remove", "insert", "getRandom"]
[[], [1], [2], [2], [], [1], [2], []]
Output
[null, true, false, true, 2, true, false, 2]
In input we have 2 arrays:
- Method calls sequence. Contains method names that should be called.
- Method call sparameters sequence. Contains array of method parameters passed to methods from sequence 1.
In output we have expected values to be returned on method calls from input.
Metadata
Metadata
Assignees
Labels
No labels