-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path68P05-Push.tex
More file actions
47 lines (39 loc) · 1.34 KB
/
68P05-Push.tex
File metadata and controls
47 lines (39 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
\documentclass[12pt]{article}
\usepackage{pmmeta}
\pmcanonicalname{Push}
\pmcreated{2013-03-22 16:15:20}
\pmmodified{2013-03-22 16:15:20}
\pmowner{Mravinci}{12996}
\pmmodifier{Mravinci}{12996}
\pmtitle{push}
\pmrecord{6}{38362}
\pmprivacy{1}
\pmauthor{Mravinci}{12996}
\pmtype{Definition}
\pmcomment{trigger rebuild}
\pmclassification{msc}{68P05}
\pmsynonym{enqueue}{Push}
\endmetadata
% this is the default PlanetMath preamble. as your knowledge
% of TeX increases, you will probably want to edit this, but
% it should be fine as is for beginners.
% almost certainly you want these
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
% used for TeXing text within eps files
%\usepackage{psfrag}
% need this for including graphics (\includegraphics)
%\usepackage{graphicx}
% for neatly defining theorems and propositions
%\usepackage{amsthm}
% making logically defined graphics
%%%\usepackage{xypic}
% there are many more packages, add them here as you need them
% define commands here
\begin{document}
Given a stack, the act of adding a new element to the top of the stack is to \emph{push} an element onto it. If there is a stack pointer, it would be incremented (or decremented if the bottom element of the stack is placed at the highest memory address available).
To do this to a queue is usually called to \emph{enqueue}.
%%%%%
%%%%%
\end{document}