Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Browse W

Alphabetical listing with fast deep pagination.
66619 items • Page 1146 / 1333

All 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Write a recursive function sumTreeNodeHelper that sums the elements of a binary
Write a recursive function sumTreeNodeHelper that sums the elements of a binary search tree starting with the smallest element and adding elements in order up to the largest eleme…
Write a recursive function sumTreeNodeHelper that sums the elements of a binary
Write a recursive function sumTreeNodeHelper that sums the elements of a binary search tree starting with the smallest element and adding elements in order up to the largest eleme…
Write a recursive function sumTreeNodeHelper(struct BNode *node, double *sum) th
Write a recursive function sumTreeNodeHelper(struct BNode *node, double *sum) that sums the elements of a binary search tree starting with the smallest element, and adding element…
Write a recursive function that converts a C++ string into an integer. Assume th
Write a recursive function that converts a C++ string into an integer. Assume that the string passed has digits only (there is no unary + sign) and that the resulting value corres…
Write a recursive function that finds and returns the minimum element in an arra
Write a recursive function that finds and returns the minimum element in an array, where the array and its size are given as parameters Function prototype: Int findmin(int a[], in…
Write a recursive function that returns the number of right children in a binary
Write a recursive function that returns the number of right children in a binary search tree. Function prototype: int BST::numberOfRightChildren (BSTNode * p) const Deliverable: W…
Write a recursive function that satisfies the following specification: One argum
Write a recursive function that satisfies the following specification: One argument i.e. arg1: Any list of numbers Return: A number – the sum of the squares of the elements in arg…
Write a recursive function that should take as a parameter a C++ string of \'1\'
Write a recursive function that should take as a parameter a C++ string of '1's and '0's that are the binary representation of a positive integer, and return the equivalent int da…
Write a recursive function that should take as a parameter a C++ string of \'1\'
Write a recursive function that should take as a parameter a C++ string of '1's and '0's that are the binary representation of a positive integer, and return the equivalent int da…
Write a recursive function that takes a binary tree and decides whether it is a
Write a recursive function that takes a binary tree and decides whether it is a search tree or not. I suggest that you start by writing two helper functions (again recursive). One…
Write a recursive function that takes a string of length n and returns 1 if the
Write a recursive function that takes a string of length n and returns 1 if the string is a palindrome, 0 if the string is not a palindrome. A palindrome is a string that is spell…
Write a recursive function that takes as a parameter a nonnegative integer and g
Write a recursive function that takes as a parameter a nonnegative integer and generates the following pattern of stars. If the nonnegative integer is 4, then the pattern generate…
Write a recursive function that takes as a parameter a nonnegative integer and g
Write a recursive function that takes as a parameter a nonnegative integer and generates the following pattern of stars. If the nonnegative integer is 4, then the pattern generate…
Write a recursive function that takes as a parameter a nonnegative integer and g
Write a recursive function that takes as a parameter a nonnegative integer and generates the following pattern of stars. If the nonnegative integer is 4, then the pattern generate…
Write a recursive function that takes as a parameter a nonnegative integer and g
Write a recursive function that takes as a parameter a nonnegative integer and generates the following pattern of stars. If the nonnegative integer is 4, then the pattern generate…
Write a recursive function that takes as a parameter a nonnegative integer and g
Write a recursive function that takes as a parameter a nonnegative integer and generates the following pattern of stars. If the nonnegative integer is 4, then the pattern generate…
Write a recursive function that takes as input parameters 3 numbers: The goal of
Write a recursive function that takes as input parameters 3 numbers: The goal of this function is to take the first number and count the numbers below it (to 0) that divide evenly…
Write a recursive function that will calculate Fibonacci numbers using a recursi
Write a recursive function that will calculate Fibonacci numbers using a recursive definition. Write a short program to test it. The input of this program must be a positive integ…
Write a recursive function that will test to see if the input String parameter b
Write a recursive function that will test to see if the input String parameter belongs to the following format: L = {S : S is in the form of AnB3n, for some n >= 0} where n and…
Write a recursive function to calculate binomial coefficients. This function sho
Write a recursive function to calculate binomial coefficients. This function should take in two integer arguments, n and k, and will return an integer. The simplest way to write t…
Write a recursive function to calculate binomial coefficients. This function sho
Write a recursive function to calculate binomial coefficients. This function should take in two integer arguments, n and k, and will return an integer. The simplest way to write t…
Write a recursive function to compute the depth of a binary tree. Use the defini
Write a recursive function to compute the depth of a binary tree. Use the definition of depth given in the textbook: the root of a (non-empty) tree is at depth 0; the children of …
Write a recursive function to get the minimum number from a sequence of numbers.
Write a recursive function to get the minimum number from a sequence of numbers. Please name the function as min. This function should tell the minimum number in a given list. For…
Write a recursive function to print the punctuation in a string containing a sen
Write a recursive function to print the punctuation in a string containing a sentence. For example, for the sentence S, where: S = “Every day is a gift!”, said the parent to their…
Write a recursive function which returns the sum of all the even integers from 2
Write a recursive function which returns the sum of all the even integers from 2 to n where n is the value we pass the function. YOUR FUNCTION MUST BE RECURSIVE to get credit for …
Write a recursive function with two unsigned int parameters, m and n. The precon
Write a recursive function with two unsigned int parameters, m and n. The precondition requires 0 <= m and m <= n. The function prints a line of m asterisks, then a line of …
Write a recursive function, power, that takes as parameters two integers x and y
Write a recursive function, power, that takes as parameters two integers x and y such that x is nonzero and returns x^y, For y 0: Prompt user for x and y. If user enters non-integ…
Write a recursive function, sumDigits, that takes an integer as a parameter and
Write a recursive function, sumDigits, that takes an integer as a parameter and returns the sum of the digits of the integer. please use the templates below to make the program. (…
Write a recursive java method named printNumber(int n) that takes a single integ
Write a recursive java method named printNumber(int n) that takes a single integer argument, n, and prints the value of n using standard English words. You can assume n is less th…
Write a recursive method (count) that finds the number of occurrences of a speci
Write a recursive method (count) that finds the number of occurrences of a specified character in an array. You need to define the following two methods. The second one is a recur…
Write a recursive method body for the hasLabel method whose contract is given be
Write a recursive method body for the hasLabel method whose contract is given below. Do not use magic numbers, breaks or multiple returns. The XML Tree Interface API is attached./…
Write a recursive method body for the smallestDigit method whose contract is giv
Write a recursive method body for the smallestDigit method whose contract is given below. As an example, if n - 23141, the method should return 1. You may only use NaturalNumberke…
Write a recursive method called evaluateExpTree that takes a expression binary t
Write a recursive method called evaluateExpTree that takes a expression binary tree and evaluates it. An expression binary tree is a binary tree in which a node is either an opera…
Write a recursive method called fibonacci \"fib\" in Java, and include it in a p
Write a recursive method called fibonacci "fib" in Java, and include it in a program to test it. Specifically, have your "main" method read in a number, say, "n" and then call "fi…
Write a recursive method called fibonacci \"fib\" in Java, and include it in a p
Write a recursive method called fibonacci "fib" in Java, and include it in a program to test it. Specifically, have your "main" method read in a number, say, "n" and then call "fi…
Write a recursive method called fibonacci \"fib\" in Java, and include it in a p
Write a recursive method called fibonacci "fib" in Java, and include it in a program to test it. Specifically, have your "main" method read in a number, say, "n" and then call "fi…
Write a recursive method called printLettersForward that will accept a character
Write a recursive method called printLettersForward that will accept a character parameter. The method should print all of the letters of the alphabet up to (including) the parame…
Write a recursive method compareStrings(String s1, String s2). This method shoul
Write a recursive method compareStrings(String s1, String s2). This method should return 0 if the strings s1 and s2 contain exactly the same characters in the same order, 1 if s1 …
Write a recursive method digitSum that takes a non-negative integer in return fo
Write a recursive method digitSum that takes a non-negative integer in return for some of its digits. For example, digitSum(1234) returns 1 + 2 + 3 + 4 = 10. Your method should ta…
Write a recursive method digitSum that takes a non-negative integer in return fo
Write a recursive method digitSum that takes a non-negative integer in return for some of its digits. For example, digitSum(1234) returns 1 + 2 + 3 + 4 = 10. Your method should ta…
Write a recursive method in java to reverse the values stored in an integer arra
Write a recursive method in java to reverse the values stored in an integer array. Place the method where indicated in the following program. Run the program and paste a screensho…
Write a recursive method in java to reverse the values stored in an integer arra
Write a recursive method in java to reverse the values stored in an integer array. Place the method where indicated in the following program. Run the program and paste a screensho…
Write a recursive method listLinks that will list all the links in a tree or sub
Write a recursive method listLinks that will list all the links in a tree or subtree of a node. The context should be a Node (a class with a getChildren method that will return a …
Write a recursive method named power that accepts two integers representing a ba
Write a recursive method named power that accepts two integers representing a base and an exponent and returns the base raised to that exponent. For example, the call of power (3,…
Write a recursive method named repeatString that accepts a string and an integer
Write a recursive method named repeatString that accepts a string and an integer n as parameters and that returns the string concatenated n times. For example, the call of repeatS…
Write a recursive method public static ArrayList permuteArray(int[] array) that
Write a recursive method public static ArrayList permuteArray(int[] array) that returns an ArrayList of all permutations of the the parameter array. The ArrayList may contain the …
Write a recursive method public static ArrayList permuteArray(int[] array) that
Write a recursive method public static ArrayList permuteArray(int[] array) that returns an ArrayList of all permutations of the the parameter array. The ArrayList may contain the …
Write a recursive method public static ArrayList permuteArray(int[] array) that
Write a recursive method public static ArrayList permuteArray(int[] array) that returns an ArrayList of all permutations of the the parameter array. The ArrayList may contain the …
Write a recursive method public static int findTimes10(int[] nums) that analyzes
Write a recursive method public static int findTimes10(int[] nums) that analyzes an array of integers and returns the index of the first value whose successor is 10 times the orig…
Write a recursive method public static int teddy(int initial, int goal, int incr
Write a recursive method public static int teddy(int initial, int goal, int increment) that simulates a variant of the “Teddy Bears” game between the player (you) and your friend,…