Design a method from stack class to reverse the order

Assignment Help Data Structure & Algorithms
Reference no: EM13311296

I have a small short homework assignment. For my homework I have to do 4 short answer questions. I do not need the whole program at all THIS IS NOT 4 PROJECTS. All I need to do is develop 4 methods from four separate ALREADY MADE CLASSES from old projects my instructor developed for us to use for today.NOTHING AT ALL NEEDS to be complied I do not need a java file(s) or substantial development sent back to me, under no circumstance do I need projects sent back to me this is not project development. I need four METHODS developed sent back to me on a word document listed 1-4 for each question that meets the basic requirement for each one. More or less these are handpicked text book questions my instructor is giving to us today from 4 separate sections. Please do not be confused I again am repeating it this is not 4 projects this is literally four short answer METHODS that should be written onto a word document and sent to me.

All Files are in zip files

1.) Design a method from "Stack" Class to reverse the order of members in a stack. (Stack Order: From 1234 to 4321). No array. (allowed example : push,pop). File Name : Stack
2) Design a method from the "Queue" class to "enQueue" to the front end of a queue (No Array). File Name: queues
3.) Design a method from the "BinarySearchTree" Class to count the number of members in a binary search tree. (Traversal) (No array). Zip File Has both Binary search tree and Binary Tree. File Name : BST
4.) Design a method from the "CompleteTree" class to determine if a complete tree is also a full tree. (Textbook Hint: Count number of nodes). (No Array) File name: CompleteTree


Attachment:- ASSIGNMENT.rar

Reference no: EM13311296

Questions Cloud

What is the sprinters speed : A sprinter crosses the finish line of a race. The roar of the crowd in front approaches her at a speed of 351 m/s. What is the sprinter's speed
What is the broadest definition of a transducer : In what ways is the transducer in medical ultrasound a 'speaker' & 'microphone?', What is the broadest definition of a 'transducer?'
Case study on famous financial corporation : As head of the Information Protection Department of Famous Corporation, you have just received a call from the Senior Vice President of Human Resources informing you that in the past four days, there have four occurrences of money transfers to una..
Calculate the wavelengths of the photons : The Lyman series results from transitions of the electron in hydrogen in which the electron ends at the n=1 energy level. calculate the wavelengths of the photons emitted in the transitions from the energy states
Design a method from stack class to reverse the order : Design a method from "Stack" Class to reverse the order of members in a stack. (Stack Order: From 1234 to 4321). No array. (allowed example : push,pop). File Name : Stack.
What is the position of the image formed by the lens : A small object is placed to the left of a convex lens and on the optical axis. What is the position of the image formed by the lens
How much energy in joules does the motor use : an electric on a airplane operates 20.8 volts a draws a current of 14.7amps. How much energy in joules does the motor use
What is the resistance of the searchlight : a search light requires 56 watts of power when connected to 117 volts. What is the resistance of the searchlight
Determine the speed of the projectile : A projectile is fired with an initial speed of 69.0m/s at an angle of 42.8 degrees above the horizontal on a long flat firing range

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Creating code for a class called arrayqsn

Create all the code for a class called ArrayQsn. This class will contain 2-techniques. The first technique runningSumMean accepts an array of ints as a parameter, and will return the mean of the values as a double.

  Explain the concept of dns

Assume your job is to support desktop computers in a small corporation of 32 workers. A consulting company is setting up a private Web server to be used internally by company workers.

  Explain solution to recurrence-appealing to recursion tree

Solve the following recurrence relations by the method of your choiceT(n) = 1 for n = 4 and T(n) =pnT(pn) + n for n > 4. Argue that the solution to the recurrence T(n) = T(n=3) + T(2n=3) + cn is (n lg n) by appealing to the recursion tree.

  Single binary search tree

You must store the words and the counts of the words in a single binary search tree and each word occurring in the text can only be stored once in the tree

  Preparing a java program

Prepare a program that asks the user how many automobiles are to be explained, and for each automobile it inputs the user's selection of make and color.

  The binary search algorithm

- The "origin" of the Cartsian plane in math is the point where x and y are both zero. Declare a variable of type POINT named origin and set its data dields consistent with the mathematical notion of "origin".

  Provide a description of the algorithm in pseudocode

Provide a description of the algorithm in pseudocode and conduct time complexity analysis of the algorithm

  A binary search tree for link information

A binary search tree with N nodes has N + 1 null references, half the space allocated in a binary search tree for link information is wasted. Suppose that if a node has a null left child, we make its left child link to its inorder predecessor, and if..

  Read in a height in feet and inches

Write a program that will read in a height in feet and inches (feet should be an integer, while inches should be a float) and will output the equivalent height in meters (as a float). Use at least three functions

  Interchange contents of working registers

Make a stack at 1000h and use the stack to interchange the contents of all of working registers. Exchange AX with DX, BX with CX, and DI with SI.

  Question about lan and wan

Think about the following two scenarios two computers are connected to a LAN using a total of 20-feet of cable, and two computers are connected over the Internet and are 8000 miles from each other.

  Create algorithm to read arbitrary number of data record

Create the algorithm to read arbitrary number of data records, each containing name, age, and code. Code of 1 will indicate female, a code of 2 will indicate male.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd