Complete the following binary search method on characters. Find the character search in the array letters. Return the index of the...
Search Results
Searching for: cci
Individual Exercises
What is the root node of the tree shown here? 
How many internal nodes there are in the tree shown here? 
What is the depth (aka height) of the tree shown here? 
Select all of the nodes that are children of node 10 in the binary tree shown here. 
What type of binary tree is this? 
What is the depth (aka height) of the tree shown here? 
How many nodes are at level 3 in this tree? 
Parenthesized notation
A binary tree can be represented in parenthesized notation. The image below shows an example of how to represent...
Parenthesized notation
A binary tree can be represented in parenthesized notation. The image below shows an example of how to represent...
Parenthesized notation
A binary tree can be represented in parenthesized notation. The image below shows an example of how to represent...
Parenthesized notation
A binary tree can be represented in parenthesized notation. The image below shows an example of how to represent...
Parenthesized notation
A binary tree can be represented in parenthesized notation. The image below shows an example of how to represent...
Parenthesized notation
A binary tree can be represented in parenthesized notation. The image below shows an example of how to represent...
Convert the linear search given below to use a Comparable. The documentation for the interface Comparable can be found online.
You don't...
Description
Write a recursive method int countDigits(int n) that returns how many digits are in n. The key idea over recursion in this...
Description
In English, there are some mechanical rules to turn a singular noun to plural. For this exercise, complete the method String...
Description
Write a recursive method int sumDigits(int n) that returns the sum of all the digits in n. The key idea over recursion in...
In mathematics, the Fibonacci numbers are the numbers in the following integer sequence, characterized by the fact that every number...