Article View: fj.lang.pascal
Article #54help
From: Tim Boon
Date: Thu, 20 Nov 1997 00:00
Date: Thu, 20 Nov 1997 00:00
20 lines
1270 bytes
1270 bytes
I have just done 17 questions on stacks and I can't do these three, there in for the 21 November so could you please help me, 1)Given that an input stream ABCDE which of the following are possible output streams? a) ACEDB b) BCEAD c)CBAED d)EACBD for possible output streamsshow, using the instruction PUSH and POP, how they can be obtained. 2)A stack is being implimented in an array of 10 elements. Using pseudocode algorithms show how a data element is: i)added to the stack. ii) removed from the stack 3) Explain how the elements is a non-empty queue may be reserved with the aid of a stack. Thankyou very much, please help and if you have email it back to me at TimBoon@netcomuk.co.uk
Technical Details
Message-ID:
<652419$laa$1@taliesin.netcom.net.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff90a,5f3ed5c3d91877c1,start X-Google-Attributes: gidff90a,public From: "Tim Boon" <TimBoon@netcomuk.co.uk> Subject: help Date: 1997/11/20 Message-ID: <652419$laa$1@taliesin.netcom.net.uk> X-Deja-AN: 291084468 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 X-Complaints-To: abuse@corp.netcom.net.uk X-Trace: taliesin.netcom.net.uk 880055145 21834 194.42.229.223 (20 Nov 1997 19:45:45 GMT) Organization: None. (via NETCOM Internet Ltd. USENET service). Newsgroups: fj.lang.pascal