mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-07 09:01:13 -05:00
fix(curriculum): replace stack question in data structures quiz (#66090)
This commit is contained in:
@@ -281,7 +281,7 @@ What is the time complexity of inserting a new node at the head of a singly link
|
||||
|
||||
#### --text--
|
||||
|
||||
Which operation returns the top element of a stack without removing it?
|
||||
Which operation is used to remove an element from a stack?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
@@ -289,7 +289,7 @@ Which operation returns the top element of a stack without removing it?
|
||||
|
||||
---
|
||||
|
||||
`pop`
|
||||
`dequeue`
|
||||
|
||||
---
|
||||
|
||||
@@ -297,7 +297,7 @@ Insert at bottom.
|
||||
|
||||
#### --answer--
|
||||
|
||||
`peek`
|
||||
`pop`
|
||||
|
||||
### --question--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user