Find Jobs
Hire Freelancers

ArrayStack

$10-30 USD

Terminado
Publicado hace más de 9 años

$10-30 USD

Pagado a la entrega
[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
ID del proyecto: 6854467

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 1 día
5,0 (354 comentarios)
6,3
6,3
4 freelancers están ofertando un promedio de $24 USD por este trabajo
Avatar del usuario
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 en 1 día
5,0 (7 comentarios)
2,6
2,6
Avatar del usuario
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 en 1 día
5,0 (2 comentarios)
1,6
1,6
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Old Westbury, United States
5,0
1
Forma de pago verificada
Miembro desde dic 11, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.