
Stack Operations and Recursion Concepts

Flashcard
•
Computers
•
University
•
Hard
Quizizz 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
12 questions
User-Defined DS

Flashcard
•
University
10 questions
CMP128 Java Ch. 04 Loops Pt. 2

Flashcard
•
University
12 questions
Data Structures Review

Flashcard
•
University
10 questions
BIOLOGY

Flashcard
•
University
10 questions
Algorithm Analysis Flashcard

Flashcard
•
University
10 questions
CELESTIA

Flashcard
•
University
11 questions
Node.js timer functions

Flashcard
•
Professional Development
7 questions
Demo Flashcardizz_gestes de base

Flashcard
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade