
Stack Operations and Recursion Concepts
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

13 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the base case in recursion?
Back
A condition to end the recursive calls
2.
FLASHCARD QUESTION
Front
A recursive function must always have a base case.
Back
True
3.
FLASHCARD QUESTION
Front
What will be the output of the code?
Back
10
4.
FLASHCARD QUESTION
Front
Which of the following operations are supported by a stack? Insert and Delete, Enqueue and Dequeue, Push and Pop, Add and Remove
Back
Push and Pop
5.
FLASHCARD QUESTION
Front
What will be printed by the code? Answer in format "num, num" Example: 1, 1
Back
30, 20
6.
FLASHCARD QUESTION
Front
What is the time complexity for searching an element in a balanced BST?
Back
O(log n)
7.
FLASHCARD QUESTION
Front
A binary tree is a BST if for every node, the value of all nodes in its left subtree is less than the node, and the value of all nodes in its right subtree is greater.
Back
True
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Essential Statistics Concepts
Flashcard
•
12th Grade
10 questions
R2.3 How Far? Le Chatelier's Principle
Flashcard
•
12th Grade
15 questions
Sleep and Dreams - AP Psychology
Flashcard
•
12th Grade - University
15 questions
Metric Tolerances
Flashcard
•
Professional Development
10 questions
Be going to vs Present Continuous
Flashcard
•
University
10 questions
Barriers of physician-patient relationships inprofessionalism
Flashcard
•
University
7 questions
Understanding Dreams
Flashcard
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade