Find Jobs
Hire Freelancers

ArrayStack

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
[login to view URL] and code Stack hierarchy including StackInterface and ArrayStack as described in Chapter 3 text, diagrams and source code. [login to view URL] 3 new methods for StackInterface, ArrayStack and LinkedStack: (extra credit for ArrayStackList) [login to view URL] – Ex. 29, 42 Chapter 3 Create a toString method for the ArrayStack class. This method should create and return a string that correctly represents the current stack. Such a method could prove useful for testing and debugging the ArrayStack class and for testing and debugging applications that use the ArrayStack class. Create a toString method for the LinkedStack class. This method should create and return a string that correctly represents the current stack. Such a method could prove useful for testing and debugging the LinkedStack class and for testing and debugging applications that use the LinkedStack class. [login to view URL] – Ex. 34a , 44 Chapter 3 as defined in Ex. 20 In compiler construction, we need to be able to pop more than one element at a time, discarding the items popped. To do so, we provide an int parameter count for popSome method that removes the top count items from the stack. The new method should throw StackUnderflowException as needed. (34a) Implement popSome for ArrayStack class. Excercise 20 described a popSome method for stack. Implement popSome for the LinkedStack class. [login to view URL] – Ex. 42 Chapter 3 (for all implementations) [login to view URL] applications to test all new and existing methods [login to view URL] or batch is your choice (both for extra credit) [login to view URL] addition, perform the tasks as described in Ex. 30, Chapter 3. (You may use the methods of ArrayStack that you created in Step 2.) Write a segment of code (application level) to perform each of the following operations. Assume myStack is an object of the class ArrayStack. You may call any of the public methods of ArrayStack. You may declare additional stack objects. a. Set secondElement to the second element from the top of myStack, leaving myStack without its original top two elements. b. Set bottom equal to the bottom element in myStack, leaving myStack empty. c. Set bottom equal to the bottom element in myStack, leaving myStack unchanged. d. Print out the contents of myStack, leaving myStack unchanged
Project ID: 6854467

About the project

4 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello. However you did not provide all needed files for it, but I have done similar assignment for someone else and I have already all needed files. Of course I'll do it for you by different ways from scratch...
$20 USD in 1 day
5.0 (354 reviews)
6.3
6.3
4 freelancers are bidding on average $24 USD for this job
User Avatar
Hello There Experience : 5 Years in Java Deadline: I will start now (1-2 hour) at max Payment : After Complete Thank in advance Hiasat.
$20 USD in 1 day
5.0 (7 reviews)
2.6
2.6
User Avatar
Hi there, I'm a Computer Science graduate, currently pursuing a MSc in Artificial Intelligence. I can help you do this assignment. Contact me through chat if interested. Thank you for your consideration.
$30 USD in 1 day
5.0 (2 reviews)
1.6
1.6
User Avatar
A proposal has not yet been provided
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Old Westbury, United States
5.0
1
Payment method verified
Member since Dec 11, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.