Em Andamento

Something Light - Stack Implementations

Consider the following language L={w: w is a string of characters containing () {} [] <>, (along with other characters) where each enclosure symbol ({]< is balanced by its counterpart )}]> in the normal “order-of-operations?? order. I need a program (using a stack to input a string and determine if it is “balanced?? in this way. Display appropriate messages either for the success or failure of the process. Design the program to repeat. Write two versions of this program. (1) The first version is to use an array implementation of a stack. (2) The second is to use a linked list version of a stack. For #1, use the array implementation of the stack from the JDSL given below in the "Deliverables" text box. For #2, you can use the JDSL linked-list stack implementation; or you can write your own. (The JDSL version uses the classes pOneChildNode, pLinkedList, and pEasyStack). Your stacks will store the wrapper Character objects.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.

/* [url removed, login to view]

* copyright © 1988, Particle */

public class pArrayStackObject

{protected Object head[];

protected int pointer;

public pArrayStackObject (int capacity)

{head = new Object [capacity];

pointer = -1;

}public Boolean isEmpty()

{return pointer == -1;

}public void push(Object i)

{if(pointer+1 < [url removed, login to view])

head[++pointer]= i;

}public Object pop()

{if(isEmpty())

return null;

return head[pointer--];

}

}

## Platform

Windows XP

Habilidades: Engenharia, Java, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: string source code java, store design objects, stacks and stacks, stack class java, software stacks, linked stack, linked int, java stack class, first class objects in java, failure by design, Implementations, enclosure, program linked list, implementation stack using list, push java, program using stack, light box design, java wrapper class, php text array, counterpart, stack java implementation, java light, object wrapper, linked list program, design code light

Acerca do Empregador:
( 12 comentários ) United States

ID do Projeto: #2969354

Premiar a:

vw821235vw

See private message.

$10 USD em 1 dia
(94 Avaliações)
4.3

8 freelancers estão ofertando em média $26 para este trabalho

mihaiscortaru

See private message.

$42.49 USD em 1 dia
(160 Comentários)
6.0
emilianbold

See private message.

$8.5 USD em 1 dia
(80 Comentários)
5.9
blitzard

See private message.

$21.25 USD em 1 dia
(16 Comentários)
4.1
exceptionalcoder

See private message.

$29.75 USD em 1 dia
(8 Comentários)
4.0
always99vw

See private message.

$17 USD em 1 dia
(22 Comentários)
3.4
aoavw

See private message.

$12.75 USD em 1 dia
(8 Comentários)
1.8
cryb

See private message.

$63.75 USD em 1 dia
(0 Comentários)
0.0