
Stack Operations and Recursion Concepts

Flashcard
•
Computers
•
University
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Flashcard - Bairros Sustentáveis

Flashcard
•
University
10 questions
zoology- evolution of the animal body plan

Flashcard
•
12th Grade
10 questions
Ordenación por Quicksort

Flashcard
•
Professional Development
6 questions
Flashcard Sample by Ashis

Flashcard
•
University
13 questions
Phrasal Verbs Flashcards

Flashcard
•
University
8 questions
7018221606

Flashcard
•
KG - University
10 questions
Basics of Excel - Flashcard 1

Flashcard
•
KG - University
8 questions
SASE GM 1

Flashcard
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University