Find Jobs
Hire Freelancers

ArrayStack

$10-30 USD

Ukończony
Opublikowano ponad 9 lat temu

$10-30 USD

Płatne przy odbiorze
[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
Identyfikator projektu: 6854467

Informację o projekcie

4 ofert
Zdalny projekt
Aktywny 9 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
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 w 1 dzień
5,0 (354 opinii)
6,3
6,3
4 freelancerzy składają oferty o średniej wysokości $24 USD dla tej pracy
Awatar Użytkownika
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 w 1 dzień
5,0 (7 opinii)
2,6
2,6
Awatar Użytkownika
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 w 1 dzień
5,0 (2 opinii)
1,6
1,6
Awatar Użytkownika
A proposal has not yet been provided
$25 USD w 1 dzień
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga UNITED STATES
Old Westbury, United States
5,0
1
Zweryfikowana metoda płatności
Członek od gru 11, 2014

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.