<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6640376757132220403</id><updated>2011-07-08T04:26:51.956-07:00</updated><category term='queue'/><category term='stack'/><category term='Report'/><category term='data structures'/><title type='text'>Data  Structures for IT/CS 2</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-3796619056779228941</id><published>2009-05-11T19:32:00.000-07:00</published><updated>2009-05-11T20:32:23.148-07:00</updated><title type='text'>Answer</title><content type='html'>(A + B) * (A – C)&lt;br /&gt;INPUT A&lt;br /&gt;STORE A&lt;br /&gt;INPUT B&lt;br /&gt;STORE B&lt;br /&gt;INPUT C&lt;br /&gt;STORE C&lt;br /&gt;LOAD A&lt;br /&gt;ADD B&lt;br /&gt;STORE SUM&lt;br /&gt;LOAD A&lt;br /&gt;SUBT C&lt;br /&gt;STORE DIFF&lt;br /&gt;STORE DIFF2&lt;br /&gt;LOAD DIFF&lt;br /&gt;SUBT ONE&lt;br /&gt;SKIPCOND 100&lt;br /&gt;JUMP HERE&lt;br /&gt;CLEAR&lt;br /&gt;STORE ANS&lt;br /&gt;JUMP SHOW &lt;br /&gt;HERE, LOAD SUM&lt;br /&gt;STORE ANS&lt;br /&gt;LOOP, LOAD DIFF&lt;br /&gt;SUBT ONE&lt;br /&gt;STORE DIFF&lt;br /&gt;SKIPCOND 800&lt;br /&gt;JUMP SHOW&lt;br /&gt;LOAD ANS&lt;br /&gt;ADD SUM&lt;br /&gt;STORE ANS&lt;br /&gt;JUMP LOOP&lt;br /&gt;SHOW, LOAD A&lt;br /&gt;OUTPUT&lt;br /&gt;LOAD B&lt;br /&gt;OUTPUT&lt;br /&gt;LOAD C&lt;br /&gt;OUTPUT&lt;br /&gt;LOAD SUM&lt;br /&gt;OUTPUT&lt;br /&gt;LOAD DIFF2&lt;br /&gt;OUTPUT&lt;br /&gt;LOAD ANS&lt;br /&gt;OUTPUT&lt;br /&gt;HALT&lt;br /&gt;A, DEC 0&lt;br /&gt;B, DEC 0&lt;br /&gt;C, DEC 0&lt;br /&gt;SUM, DEC 0&lt;br /&gt;DIFF, DEC 0&lt;br /&gt;DIFF2, DEC 0&lt;br /&gt;ONE, DEC 1&lt;br /&gt;ANS, DEC 0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-3796619056779228941?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/3796619056779228941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=3796619056779228941' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/3796619056779228941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/3796619056779228941'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/05/answer.html' title='Answer'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-1822807645804206899</id><published>2009-03-12T19:57:00.000-07:00</published><updated>2009-03-12T21:01:51.923-07:00</updated><title type='text'>Schedule for Project Presentation</title><content type='html'>8:00 - 10:00 IT2A&lt;br /&gt;10:00 - 12:00 CS2&lt;br /&gt; 1:00 -  3:00 IT2B&lt;br /&gt; 3:00 -  4:00 IT2C&lt;br /&gt;&lt;br /&gt;*I would not entertain late comers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-1822807645804206899?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/1822807645804206899/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=1822807645804206899' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/1822807645804206899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/1822807645804206899'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/03/schedule-for-project-presentation.html' title='Schedule for Project Presentation'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-8482434751369945447</id><published>2009-02-17T10:17:00.000-08:00</published><updated>2009-02-17T10:20:49.912-08:00</updated><title type='text'>Final Project Group Topics</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} p 	{mso-style-noshow:yes; 	mso-style-priority:99; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman","serif"; 	mso-fareast-font-family:Calibri;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;table class="MsoNormalTable" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="border: 1pt solid black; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpFirst" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;span style="font-size: 8pt;"&gt;Group&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: solid solid solid none; border-color: black black black -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;span style="font-size: 8pt;"&gt;Project&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Trees   Root, Siblings, External Node, Ancestors, Descendant, Depth, Height, Degree &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Operations:   Insert, Remove, Search, Display&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Traversal   -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Trees   PreOrder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Operations:   Insert, Remove, Search, Display &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Traversal   -&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Trees   InOrder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Operations:   Insert, Remove, Search, Display&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Traversal   - Trees PostOrder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Operations:   Insert, Remove, Search, Display&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Tree   Application &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Arithmetic   Expression Tree&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Operations:   Display&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;6&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Binary   Tree – &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Number of   nodes, number of external nodes, number of internal nodes, height&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;Operations:   Insert, Remove, Search, Display&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Directed   Graph Operations&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make-graph&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(): graph&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Create a new graph, initially with   no nodes or edges.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make-vertex&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(graph &lt;i&gt;G&lt;/i&gt;, element &lt;i&gt;value&lt;/i&gt;): vertex&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Create a new vertex, with the   given value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make-edge&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(vertex &lt;i&gt;u&lt;/i&gt;, vertex &lt;i&gt;v&lt;/i&gt;): edge&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Create an edge between &lt;i&gt;u&lt;/i&gt;   and &lt;i&gt;v&lt;/i&gt;. In a directed graph, the edge will flow from &lt;i&gt;u&lt;/i&gt; to &lt;i&gt;v&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;get-edges&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(vertex &lt;i&gt;v&lt;/i&gt;): edge-set&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Returns the set of edges flowing   from &lt;i&gt;v&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;get-neighbors&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(vertex &lt;i&gt;v&lt;/i&gt;): vertex-set&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Returns the set of vertexes   connected to &lt;i&gt;v&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 8pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpLast" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt;"&gt;Undirected Graph Operations&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpFirst" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make-graph&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(): graph&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Create a new graph, initially with   no nodes or edges.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make-vertex&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(graph &lt;i&gt;G&lt;/i&gt;, element &lt;i&gt;value&lt;/i&gt;): vertex&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Create a new vertex, with the   given value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make-edge&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(vertex &lt;i&gt;u&lt;/i&gt;, vertex &lt;i&gt;v&lt;/i&gt;): edge&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Create an edge between &lt;i&gt;u&lt;/i&gt;   and &lt;i&gt;v&lt;/i&gt;. In a directed graph, the edge will flow from &lt;i&gt;u&lt;/i&gt; to &lt;i&gt;v&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;get-edges&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(vertex &lt;i&gt;v&lt;/i&gt;): edge-set&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Returns the set of edges flowing   from &lt;i&gt;v&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;get-neighbors&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(vertex &lt;i&gt;v&lt;/i&gt;): vertex-set&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Returns the set of vertexes connected   to &lt;i&gt;v&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Weighted Graph Operations (an extension of   undirected/directed graph operations)&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;make-edge&lt;/span&gt;&lt;/b&gt;&lt;span style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; font-size: 8pt; font-family: &amp;quot;Courier New&amp;quot;; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;(vertex &lt;i&gt;u&lt;/i&gt;, vertex &lt;i&gt;v&lt;/i&gt;,   weight &lt;i&gt;w&lt;/i&gt;): edge&lt;/span&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpLast" style="margin: 0in 0in 0.0001pt 0.5in; background: rgb(255, 255, 238) none repeat scroll 0% 0%; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Create an edge between &lt;i&gt;u&lt;/i&gt;   and &lt;i&gt;v&lt;/i&gt; with weight &lt;i&gt;w&lt;/i&gt;. In a directed graph, the edge will flow   from &lt;i&gt;u&lt;/i&gt; to &lt;i&gt;v&lt;/i&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Graph Traversal &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Depth – First Traversal&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style="height: 22pt;"&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt; height: 22pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;11&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt; height: 22pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Graph Traversal &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Breadth-First Search&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;12&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Weighted graphs: Dijkstra’s algorithm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color black black; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 95.4pt;" valign="top" width="127"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt;"&gt;13&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="border-style: none solid solid none; border-color: -moz-use-text-color black black -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 211.5pt;" valign="top" width="282"&gt;   &lt;p class="MsoNormalCxSpMiddle" style="background: rgb(255, 255, 238) none repeat scroll 0% 0%; margin-bottom: 0.0001pt; line-height: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;&lt;b&gt;&lt;span style="font-size: 8pt; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;Travelling Salesman Problem&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-8482434751369945447?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/8482434751369945447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=8482434751369945447' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/8482434751369945447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/8482434751369945447'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/02/final-project-group-topics.html' title='Final Project Group Topics'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-6551775193057045739</id><published>2009-02-13T23:20:00.000-08:00</published><updated>2009-02-13T23:26:30.134-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Report'/><title type='text'>Reporting Update</title><content type='html'>Report Schedule&lt;br /&gt;IT2A - Thursday/February 19, 2009&lt;br /&gt;IT2B - Thursday/February 19, 2009&lt;br /&gt;IT2C - Wednesday/February 18, 2009&lt;br /&gt;CS2 - Friday/February 20, 2009&lt;br /&gt;&lt;br /&gt;The presentation of your topics will start according to the date specified above for your respective classes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-6551775193057045739?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/6551775193057045739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=6551775193057045739' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/6551775193057045739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/6551775193057045739'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/02/reporting-update.html' title='Reporting Update'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-4953367413795070275</id><published>2009-01-31T09:14:00.000-08:00</published><updated>2009-01-31T09:16:01.832-08:00</updated><title type='text'>Lab Exam</title><content type='html'>Visit this site - &lt;a href="http://www.coders2020.com/what-is-infix-prefix-postfix-how-can-you-convert-from-one-representation-to-another-how-do-you-evaluate-these-expressions"&gt;http://www.coders2020.com/what-is-infix-prefix-postfix-how-can-you-convert-from-one-representation-to-another-how-do-you-evaluate-these-expressions&lt;/a&gt;. This will serve as your guide for your upcoming midterm lab exam this monday.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-4953367413795070275?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/4953367413795070275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=4953367413795070275' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/4953367413795070275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/4953367413795070275'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/01/lab-exam.html' title='Lab Exam'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-7795339291255342997</id><published>2009-01-24T14:20:00.000-08:00</published><updated>2009-01-24T14:22:08.727-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='queue'/><category scheme='http://www.blogger.com/atom/ns#' term='stack'/><title type='text'>Stack and Queue</title><content type='html'>The codes for stack and queue are already  available under Course Materials-&gt; Handouts/ Learning Modules in elms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-7795339291255342997?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/7795339291255342997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=7795339291255342997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7795339291255342997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7795339291255342997'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/01/stack-and-queue.html' title='Stack and Queue'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-7277240901057315031</id><published>2009-01-12T20:37:00.000-08:00</published><updated>2009-01-12T20:50:35.536-08:00</updated><title type='text'>Top Students for Prelim</title><content type='html'>1.    EMAN, ROÑARD C. (BSIT2B)                            96&lt;br /&gt;2.    PAASA, PATRICK ANGELO P. (BSIT2C)        93&lt;br /&gt;3.    LASAY, NORRIS LEMUEL C. (BSCS2)             90&lt;br /&gt;4.    ZABATE, MARVIN JOHN B. (BSCS2)               88&lt;br /&gt;5.    LUI, ADRIAN E.(BSCS2)                                     88&lt;br /&gt;6.    JAMIO, PAUL JOHN I. (BSIT2B)                      88&lt;br /&gt;7.    MEDILLO, DARWIN I. (BSIT2A)                      88&lt;br /&gt;8.    REANCHO, LIRALYN S.(BSIT2A)                    88&lt;br /&gt;9.    AMARANTO, MAYLYN T. (BSIT2C)             88&lt;br /&gt;10.    BERNARDINO, JAMES CARL H. (BSIT2C)   88  &lt;br /&gt;11.  CARILLO, RAFFY D. (BSCS2) 88&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-7277240901057315031?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/7277240901057315031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=7277240901057315031' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7277240901057315031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7277240901057315031'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/01/top-students-for-prelim.html' title='Top Students for Prelim'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-507711784879389043</id><published>2009-01-03T00:47:00.000-08:00</published><updated>2009-01-03T00:57:56.338-08:00</updated><title type='text'>Templates</title><content type='html'>&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="font-weight: bold;"&gt;Function templates&lt;/span&gt;&lt;br /&gt;Function templates are special functions that can operate with generic types. This allows us to create a function template whose functionality can be adapted to more than one type or class without repeating the entire code for each type.&lt;br /&gt;&lt;br /&gt;In C++ this can be achieved using template parameters. A template parameter is a special kind of parameter that can be used to pass a type as argument: just like regular function parameters can be used to pass values to a function, template parameters allow to pass also types to a function. These function templates can use these parameters as if they were any other regular type.&lt;br /&gt;&lt;br /&gt;The format for declaring function templates with type parameters is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;template &lt;class&gt; function_declaration;&lt;/class&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;template &lt;typename&gt; function_declaration;&lt;/typename&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The only difference between both prototypes is the use of either the keyword class or the keyword typename. Its use is indistinct, since both expressions have exactly the same meaning and behave exactly the same way.&lt;br /&gt;&lt;br /&gt;For example, to create a template function that returns the greater one of two objects we could use:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;span class="kw"&gt;template&lt;/span&gt; &lt;&lt;span class="kw"&gt;class&lt;/span&gt; myType&gt;&lt;br /&gt;myType GetMax (myType a, myType b) {&lt;br /&gt;&lt;span class="kw"&gt;return&lt;/span&gt; (a&gt;b?a:b);&lt;br /&gt;}&lt;/pre&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="comm"&gt;// function template&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="prep"&gt;#include &lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;using&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;namespace&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; std;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;template&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;class&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; T&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;T GetMax (T a, T b) {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; T result;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; result = (a&gt;b)? a : b;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;return&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; (result);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;int&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; main () {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;int&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; i=5, j=6, k;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;long&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; l=10, m=5, n;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; k=GetMax&lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;int&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&gt;(i,j);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; n=GetMax&lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;long&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&gt;(l,m);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt; cout &lt;&lt;&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;return&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;Class templates&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;We also have the possibility to write class templates, so that a class can have members that use template parameters as types. For example:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;pre style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&lt;span class="kw"&gt;template&lt;/span&gt; &lt;&lt;span class="kw"&gt;class&lt;/span&gt; T&gt;&lt;br /&gt;&lt;span class="kw"&gt;class&lt;/span&gt; mypair {&lt;br /&gt; T values [2];&lt;br /&gt;&lt;span class="kw"&gt;public&lt;/span&gt;:&lt;br /&gt; mypair (T first, T second)&lt;br /&gt; {&lt;br /&gt;   values[0]=first; values[1]=second;&lt;br /&gt; }&lt;br /&gt;};&lt;/pre&gt;&lt;span style="font-weight: bold;font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;span&gt;Example:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;pre style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);" class="comm"&gt;// class templates&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="prep"&gt;#include &lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;using&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;namespace&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; std;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;template&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;class&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; T&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;class&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; mypair {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;   T a, b;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;public&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;   mypair (T first, T second)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;     {a=first; b=second;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;   T getmax ();&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;template&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;class&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; T&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;T mypair&lt;/span&gt;&lt;t&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;::getmax ()&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; T retval;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; retval = a&gt;b? a : b;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;return&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; retval;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;int&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; main () {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; mypair &lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;int&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&gt; myobject (100, 75);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; cout &lt;&lt;&gt;&lt;span style="color: rgb(255, 0, 0);" class="kw"&gt;return&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/t&gt;&lt;/pre&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="font-weight: bold;"&gt;Template Specialization&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;pre&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="comm"&gt;// template specialization&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="prep"&gt;#include &lt;iostream&gt;&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;using&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;namespace&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; std;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="comm"&gt;// class template:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;template&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;class&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; T&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;class&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; mycontainer {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   T element;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;public&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   mycontainer (T arg) {element=arg;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   T increase () {&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;return&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; ++element;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="comm"&gt;// class template specialization:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;template&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;class&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; mycontainer &lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;char&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&gt; {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;char&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; element;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;public&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   mycontainer (&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;char&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; arg) {element=arg;}&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;char&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; uppercase ()&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;     &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;if&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; ((element&gt;=&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="str"&gt;'a'&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;)&amp;amp;&amp;amp;(element&lt;=&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="str"&gt;'z'&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;))&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;     element+=&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="str"&gt;'A'&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;-&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="str"&gt;'a'&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;     &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;return&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; element;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;   }&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;};&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;int&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; main () {&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; mycontainer&lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;int&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&gt; myint (7);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; mycontainer&lt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;char&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;&gt; mychar (&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="str"&gt;'j'&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt; cout &lt;&lt;&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;" class="kw"&gt;return&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt; 0;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;span style=";font-family:trebuchet ms;font-size:85%;"  &gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153); font-weight: bold;font-size:100%;" &gt;Observe the results of the codes above. A short quiz will be given about this during lecture.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-507711784879389043?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/507711784879389043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=507711784879389043' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/507711784879389043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/507711784879389043'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2009/01/templates.html' title='Templates'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-8550821181810797487</id><published>2008-12-09T08:12:00.000-08:00</published><updated>2008-12-09T08:17:39.572-08:00</updated><title type='text'>U.S. Capitals Lab</title><content type='html'>&lt;span style="font-family: lucida grande;"&gt;Objective: to maintain an ordered linked list&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Write a program that maintains a linked list of U.S. capitals in alphabetical order. First of all, create a text file containing a few names of state capitals. Your program should get the names from the file, inserting them in the linked list and then call the sorting function and finally display the results.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Create a text file and name it as “stateCapital.txt”&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Here is the content of your text file: State Capitals&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Montgomery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Juneau&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Phoenix&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Little Rock&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Sacramento&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Denver&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Hartford&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Dover&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Tallahassee&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Atlanta&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Honolulu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Boise&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Springfield&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Indianapolis&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Des Moines&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Topeka&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Frankfort&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Baton Rouge&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Augusta&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Annapolis&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Boston&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Lansing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;St. Paul&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Jackson&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Jefferson City&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Helena&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Lincoln&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Carson City&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Concord&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Trenton&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Santa Fe&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Albany&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Raleigh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Bismarck&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Columbus&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Oklahoma City&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Salem&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Harrisburg&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Providence&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Columbia&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Pierre&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Nashville&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Austin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Salt Lake City&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Montpelier&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Richmond&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Olympia&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Charleston&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Madison&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Cheyenne&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;Refer to &lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialC++StringClass.html"&gt;http://www.lakesparadise.com/education/elearning/show_tutorial.php?id=25&lt;/a&gt; for C++ file handling.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande;"&gt;&lt;a href="http://www.yolinux.com/TUTORIALS/LinuxTutorialC++StringClass.html"&gt;http://www.yolinux.com/TUTORIALS/LinuxTutorialC++StringClass.html&lt;/a&gt; for C++ String class Examples and Tutorial&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-8550821181810797487?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/8550821181810797487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=8550821181810797487' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/8550821181810797487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/8550821181810797487'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2008/12/us-capitals-lab.html' title='U.S. Capitals Lab'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-1134069656636708698</id><published>2008-12-02T23:05:00.000-08:00</published><updated>2008-12-02T23:22:33.951-08:00</updated><title type='text'>PRELIM EXAM DETAILS</title><content type='html'>Date: December 4, 2008&lt;br /&gt;Time                        ---------------------                         Location                   -----------------      Class&lt;br /&gt;8:00  - 10:00 AM           --------       L204                     ---------------------         IT2A&lt;br /&gt;8:00  - 10:00 AM            --------      L203                     ---------------------              CS2&lt;br /&gt;10:00 - 12:00 AM          --------        302                        ---------------------          IT2B&lt;br /&gt;10:00 - 12:00 AM          --------        303                         ---------------------           IT2C&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Note:&lt;/span&gt; &lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span&gt;Irregular students from IT2A/CS2 may take the exam together with the IT2B/IT2C.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;Be on time. The exam is good for 90 minutes. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span&gt;Failure to attend to  one of  these schedules may cause failure for prelims.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-1134069656636708698?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/1134069656636708698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=1134069656636708698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/1134069656636708698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/1134069656636708698'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2008/12/prelim-exam-details.html' title='PRELIM EXAM DETAILS'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-7768485693715628722</id><published>2008-11-23T06:57:00.000-08:00</published><updated>2008-11-23T18:11:09.916-08:00</updated><title type='text'>Sorting items in linked list</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XLTn2gt2z8s/SSl27hevIcI/AAAAAAAAAUo/9gP2hbNYBx8/s1600-h/linked-list.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 138px; height: 201px;" src="http://1.bp.blogspot.com/_XLTn2gt2z8s/SSl27hevIcI/AAAAAAAAAUo/9gP2hbNYBx8/s320/linked-list.jpg" alt="" id="BLOGGER_PHOTO_ID_5271875603785523650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Please do not ask regarding the algorithm if your having problem translating it. Learn to read algo. If your sure something is wrong with it, call my attention.&lt;br /&gt;&lt;br /&gt;Open your previous devC files and add this algorithm I'm about to give in Node.h.&lt;br /&gt;&lt;br /&gt;step 1: Create a function named as Sort (&lt;span style="font-style: italic;"&gt;lets assume you want to sort your nodes/items in ascending order) &lt;/span&gt;with void as its return type&lt;span style="font-style: italic;"&gt;.&lt;/span&gt;&lt;br /&gt;step 2: Inside your function, transform this algorithm into a C++ code.&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:116611523; 	mso-list-type:hybrid; 	mso-list-template-ids:1287847012 67698703 67698713 67698715 67698699 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level2 	{mso-level-number-format:alpha-lower; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level3 	{mso-level-number-format:roman-lower; 	mso-level-tab-stop:none; 	mso-level-number-position:right; 	text-indent:-9.0pt;} @list l0:level4 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Wingdings;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoListParagraphCxSpFirst" style="text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;1.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Create a pointer (current) of type Node&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;2.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Equate current to head&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;3.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Iterate using while loop until current is null&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;a.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Create another pointer (next) of type Node&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;b.&lt;span style=""&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Equate next to current-&gt;link&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;c.&lt;span style=""&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Iterate using a while loop until next is null&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 1.5in; text-indent: -1.5in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;                                                                                               &lt;/span&gt;i.&lt;span style=""&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Test using an if statement whether current’s data value is greater compared to next’s data value (if true, proceed with the bullets list)&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 2in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;Ø&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Create a pointer (temp) of type Node&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 2in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;Ø&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Equate temp to a new Node&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 2in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;Ø&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Assign the values of current (data) to temp (data)&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 2in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;Ø&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Assign the values of next (data) to current (data)&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 2in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;Ø&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Assign values of temp (data) to next (data)&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 2in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;Ø&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Delete temp using the keyword temp&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpMiddle" style="margin-left: 1.5in; text-indent: -1.5in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;&lt;span style=""&gt;                                                                                            &lt;/span&gt;ii.&lt;span style=""&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;move the next pointer to next-&gt;link&lt;/p&gt;  &lt;p class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style=""&gt;&lt;span style=""&gt;d.&lt;span style=""&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;Move current pointer to current-&gt;link&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 12"&gt;&lt;meta name="Originator" content="Microsoft Word 12"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CDOCUME%7E1%5CHMB%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:2 4 5 3 5 4 6 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:roman; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:116611523; 	mso-list-type:hybrid; 	mso-list-template-ids:1287847012 67698703 67698713 67698715 67698699 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level2 	{mso-level-number-format:alpha-lower; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level3 	{mso-level-number-format:roman-lower; 	mso-level-tab-stop:none; 	mso-level-number-position:right; 	text-indent:-9.0pt;} @list l0:level4 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Wingdings;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoListParagraphCxSpLast" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;/p&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-7768485693715628722?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/7768485693715628722/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=7768485693715628722' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7768485693715628722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7768485693715628722'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2008/11/sorting-items-in-linked-list.html' title='Sorting items in linked list'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XLTn2gt2z8s/SSl27hevIcI/AAAAAAAAAUo/9gP2hbNYBx8/s72-c/linked-list.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-1654981997694008953</id><published>2008-11-18T07:35:00.000-08:00</published><updated>2008-11-18T07:42:56.847-08:00</updated><title type='text'>LAB ACTIVITY</title><content type='html'>&lt;h2&gt; Advantage of Linked Lists.&lt;/h2&gt;  Linked lists are used to store collections of data.  But we've already seen a mechanism for doing this.   i.e. A collection of data can be stored in array.     However, an array is a &lt;b&gt;&lt;i&gt;sequential structure&lt;/i&gt;&lt;/b&gt; meaning   that it is a group of memory elements located in    &lt;b&gt;&lt;i&gt;contiguous locations&lt;/i&gt;&lt;/b&gt; (located next to one another in   a group).  You need to know how many elements there will be and you need to allocate a block of   memory for them.  &lt;p&gt;   When you don't know how many elements there will be, and if elements need to be inserted and   deleted frequently, it is better to use a    &lt;strong&gt;linked list&lt;/strong&gt;.   This is because each element for a linked list is   created as needed and can be stored anywhere in the free memory space - the elements in the list do   not have to be stored in contiguous locations.  &lt;/p&gt;&lt;p&gt;   Each element in a linked list is referred to as a    &lt;strong&gt;node&lt;/strong&gt;.     In a simple singly linked list, each element has two fields:  &lt;/p&gt;&lt;ul&gt;&lt;li&gt; Data member - contains the data  (in our implementation, this is called             &lt;var&gt;datum&lt;/var&gt;) &lt;/li&gt;&lt;li&gt; Link member - contains the pointer to the next node (in our implementation,           this is called &lt;var&gt;next&lt;/var&gt;) &lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;Note: we are going to represent the "&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;link&lt;/span&gt;" &lt;/span&gt;part as &lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;"next" &lt;/span&gt;&lt;/span&gt;variable&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;  In this lab, a node is defined by the following class  (called &lt;var style="font-weight: bold;"&gt;Node&lt;/var&gt;): &lt;pre&gt;class Node&lt;br /&gt;{&lt;br /&gt; private:   &lt;br /&gt;  int data;&lt;br /&gt;  Node* next;&lt;br /&gt;  &lt;br /&gt; public:&lt;br /&gt; &lt;br /&gt;  Node();&lt;br /&gt;&lt;br /&gt;  void insertItem (int);&lt;br /&gt;  void makeList ();&lt;br /&gt;  void appendItem (int);&lt;br /&gt;  void deleteItem (int);&lt;br /&gt;  void printList ();&lt;br /&gt;};&lt;br /&gt;&lt;/pre&gt; &lt;p&gt; A couple of notes on linked lists are: &lt;/p&gt; &lt;ul&gt;&lt;li&gt;if you were implementing a doubly linked list, the above class would         have an additional data member to define a pointer to the previous node.     &lt;/li&gt;&lt;li&gt;the last node in any linked list contains a null pointer in the link          member.     &lt;/li&gt;&lt;li&gt;the null pointer is used to determine the end of the list.       &lt;/li&gt;&lt;li&gt;notice that there is a constructor in the above implementation         that can be used to set the &lt;var&gt;datum&lt;/var&gt; and &lt;var&gt;next&lt;/var&gt;         members.     &lt;/li&gt;&lt;/ul&gt;  &lt;p&gt; The following diagram illustrates a simple singly linked list. &lt;/p&gt;  &lt;p&gt; &lt;/p&gt;&lt;center&gt; &lt;img src="http://www.cs.uregina.ca/Links/class-info/115/11-linked-lists/single-list.gif" /&gt; &lt;/center&gt;   &lt;p&gt; In this lab, we use a class &lt;span style="font-style: italic; font-weight: bold;"&gt;Node&lt;/span&gt; to create a linked list.&lt;br /&gt;&lt;/p&gt; &lt;h2&gt;Operations on Linked Lists.&lt;/h2&gt;    What follows here, are very rough algorithms on the basic operations that you would perform on a  linked list.  In actually implementing list operations, you would have to consider conditions such as: Is  the list empty?  What happens if I get to the null pointer and haven't found a data member that is  supposed to be in the list?  The algorithms here are just to provide you with an overview of the  concepts involved in simple operations.  &lt;ul&gt;&lt;li&gt;Creating a List (&lt;var&gt;makeList()&lt;/var&gt;)   &lt;pre&gt;               First, create a node initialized with a data value and a NULL pointer.&lt;br /&gt;              Set the "head" to point to the first node.&lt;br /&gt;              Set up a current-pointer to the first node (or "head").&lt;br /&gt;              Get a data value for the next node.&lt;br /&gt;              While more nodes to add&lt;br /&gt;              {&lt;br /&gt;                 Create a new node initialized with the data value and a NULL pointer.&lt;br /&gt;                 Set the current-pointer link member ("next") to the new node.&lt;br /&gt;                 Set the current-pointer to point to the new node.&lt;br /&gt;                 Get a data value for the next node.&lt;br /&gt;              }&lt;br /&gt; &lt;/pre&gt;   &lt;/li&gt;&lt;li&gt;Adding a Node (&lt;var&gt;appendItem(int item)&lt;/var&gt;)    &lt;pre&gt;               &lt;span style="color:green;"&gt;//Find the end of the list...&lt;/span&gt;&lt;br /&gt;              Set a current-pointer to the "head".&lt;br /&gt;              While current-pointer link member ("next") is not NULL&lt;br /&gt;              {&lt;br /&gt;                 Set the current-pointer to the "next" node in the list.&lt;br /&gt;              }&lt;br /&gt;              &lt;span style="color:green;"&gt;//Now current-pointer points to the last node...&lt;/span&gt;&lt;br /&gt;              Create a new node initialized with the "item" and a NULL pointer.&lt;br /&gt;              Set the current-pointer link member ("next") to this new node.&lt;br /&gt;   &lt;/pre&gt;   &lt;/li&gt;&lt;li&gt;Printing Nodes (&lt;var&gt;printList()&lt;/var&gt;)   &lt;pre&gt;               Set a current-pointer to the "head".&lt;br /&gt;              While current-pointer is not NULL&lt;br /&gt;              {&lt;br /&gt;                  Print the data member ("datum") of the current node&lt;br /&gt;                  Set the current-pointer to the "next" node in the list.&lt;br /&gt;              }&lt;br /&gt; &lt;/pre&gt;    &lt;/li&gt;&lt;li&gt;Inserting Nodes (&lt;var&gt;insertItem(int item)&lt;/var&gt;) &lt;br /&gt;    This algorithm assumes that you want to insert a node into a list of ordered values.       Let's say you have two values, 12 and 24.  A new value of 14 should be inserted between these existing     values so that the final list will contain the values 12, 14, and 24.     &lt;pre&gt;               Set a previous-pointer to NULL.&lt;br /&gt;              Set a current-pointer to the "head".&lt;br /&gt;              &lt;span style="color:green;"&gt;//Find where your want to insert into the list...&lt;/span&gt;&lt;br /&gt;              While the new data member &gt; current-pointer value&lt;br /&gt;              {&lt;br /&gt;                 &lt;span style="color:green;"&gt;//Move both pointers along in the list...&lt;/span&gt;&lt;br /&gt;                 Set the previous-pointer to the current-pointer&lt;br /&gt;                 Set the current-pointer to the "next" node in the list.&lt;br /&gt;              }&lt;br /&gt;              Create a new node initialized with the "item" and current-pointer.&lt;br /&gt;              Set the link member in the previous_pointer to the new node.&lt;br /&gt;     &lt;/pre&gt;      This is much easier to understand if you visualize the nodes      and the pointers as they are changed.       The following diagram attempts to illustrate this process.     &lt;center&gt;     &lt;img src="http://www.cs.uregina.ca/Links/class-info/115/11-linked-lists/insert-list.gif" /&gt;     &lt;/center&gt;  &lt;/li&gt;&lt;li&gt;Deleting Nodes (&lt;var&gt;deleteItem(int item)&lt;/var&gt;) &lt;p&gt; This routine assumes that the item you are searching for is, in fact, in the list.  &lt;/p&gt;&lt;pre&gt;               If "item" is in the first node&lt;br /&gt;              {&lt;br /&gt;                  Set a delete-pointer to the first node.&lt;br /&gt;                  Change the "head" pointer to the second node.&lt;br /&gt;              }&lt;br /&gt;              Else&lt;br /&gt;              {&lt;br /&gt;                  Set a current-pointer to the "head".&lt;br /&gt;                  While current-pointer-&gt;next-&gt;datum is not equal to "item"&lt;br /&gt;                  {&lt;br /&gt;                     Set the current-pointer to the "next" node in the list.&lt;br /&gt;                  }&lt;br /&gt;                  Set a delete-pointer to the node to be deleted (Note: it is&lt;br /&gt;                      the node after current-pointer).&lt;br /&gt;                  Set the link member ("next") of the current-pointer to the&lt;br /&gt;                      "next" node after delete-pointer.&lt;br /&gt;              }&lt;br /&gt;              Delete the node indicated by delete-pointer.&lt;br /&gt;   &lt;/pre&gt;    This is much easier to understand if you visualize the nodes and    the pointers as they are changed.    The following diagram attempts to illustrate this process.   &lt;p&gt;   &lt;img src="http://www.cs.uregina.ca/Links/class-info/115/11-linked-lists/delete-list.gif" /&gt;  &lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-1654981997694008953?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/1654981997694008953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=1654981997694008953' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/1654981997694008953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/1654981997694008953'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2008/11/lab-activity.html' title='LAB ACTIVITY'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-9090215515533283616</id><published>2008-11-06T07:56:00.000-08:00</published><updated>2008-11-06T08:09:02.898-08:00</updated><title type='text'>GradeBook Assign</title><content type='html'>Notes:&lt;br /&gt;&lt;div style="text-align: left;"&gt;1. Files you need to create: &lt;span style="font-style: italic; font-weight: bold;"&gt;GradeBook.h&lt;/span&gt; (where the function prototype are listed),   &lt;span style="font-style: italic; font-weight: bold;"&gt;GradeBook.cpp&lt;/span&gt;(the implementation of the functions) and &lt;span style="font-style: italic; font-weight: bold;"&gt;Main.cpp&lt;/span&gt; (the main file)&lt;br /&gt;&lt;/div&gt;2. If scanning for input grade using cin does not work, try&lt;br /&gt; &lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;grade = cin.get();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;3. 6 functions are included in the class:&lt;br /&gt;          &lt;div style="text-align: left;"&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;GradeBook(string input);&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;            void displayMessage();&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;            void setValue(string input);&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;            string getValue();&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;            void setGrades();&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;            void displayGrades();&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;4. 7 private variables:&lt;br /&gt;           &lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;string courseName;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;             int aCount;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;             int bCount;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;             int cCount;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;             int dCount;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;             int eCount;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;"&gt;             int fCount;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;5. &lt;span style="font-weight: bold;"&gt;If  &lt;/span&gt;including the header file of GradeBook.h in main.cpp creates a linker error, replace it with  &lt;span style="font-style: italic; font-weight: bold;"&gt;GradeBook.cpp&lt;/span&gt; (assuming that you saved the functions' implementation file as  GradeBook.cpp)&lt;br /&gt;&lt;br /&gt;Output sample:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XLTn2gt2z8s/SRMVXukhXZI/AAAAAAAAARU/YNGGUwF4uVY/s1600-h/output.bmp"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 434px; height: 340px;" src="http://1.bp.blogspot.com/_XLTn2gt2z8s/SRMVXukhXZI/AAAAAAAAARU/YNGGUwF4uVY/s320/output.bmp" alt="" id="BLOGGER_PHOTO_ID_5265575886708628882" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-9090215515533283616?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/9090215515533283616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=9090215515533283616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/9090215515533283616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/9090215515533283616'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2008/11/gradebook-assign.html' title='GradeBook Assign'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XLTn2gt2z8s/SRMVXukhXZI/AAAAAAAAARU/YNGGUwF4uVY/s72-c/output.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6640376757132220403.post-7892311335591943983</id><published>2008-10-26T19:14:00.000-07:00</published><updated>2008-10-26T19:40:52.562-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data structures'/><title type='text'>Introduction to the subject</title><content type='html'>Welcome to Data Structures. This blog is for IT2 A/B/C and CS2 students.&lt;br /&gt;&lt;br /&gt;Quick Syllabus&lt;br /&gt;To become data struct experts, you need to master the following topics:&lt;br /&gt;1. Precondition/Postcondition specifications&lt;br /&gt;2. Self-Referential Classes&lt;br /&gt;3. Dynamic Memory Allocation and Data Structures&lt;br /&gt;4. Linked List&lt;br /&gt;5. Stacks&lt;br /&gt;6. Queues&lt;br /&gt;7. Trees&lt;br /&gt;&lt;br /&gt;Grading System&lt;br /&gt;Lec - 70% - Quizzes(40%), Attendance(5%), Class Recitation(5%), Long Tests(20%), Exam(30%)&lt;br /&gt;Lab - 30% - Quizzes(50%), Attendance (5%), Exam(45%)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;note: Only 4 absences are allowed for the whole duration of the semester.&lt;br /&gt;&lt;dl&gt;&lt;dt&gt;&lt;a name="Late_Homework"&gt;&lt;/a&gt; Late Homework &lt;/dt&gt;&lt;dd&gt;Homework will be accepted up to 24 hours after the deadline with a 5% penalty. No homework will be accepted after that point, so please submit your work within 24 hours of the deadline even if the work is only partly completed. &lt;/dd&gt;&lt;dt&gt;&lt;a name="Missed_Exams_or_Quizzes"&gt;&lt;/a&gt; Missed Exams or Quizzes &lt;/dt&gt;&lt;dd&gt;Makeup exams or quizzes can be arranged only if you inform me at least 24 hours ahead of time or if an unavoidable problem causes you to miss class. Other missed exams or quizzes will be recorded as a zero score. A medical certificate should be submitted to me to validate your reason for absence.&lt;br /&gt;&lt;/dd&gt;&lt;/dl&gt;&lt;br /&gt;Book References: C++ How to Program, fifth edition by Deitel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6640376757132220403-7892311335591943983?l=datastructuresuic2008.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://datastructuresuic2008.blogspot.com/feeds/7892311335591943983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6640376757132220403&amp;postID=7892311335591943983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7892311335591943983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6640376757132220403/posts/default/7892311335591943983'/><link rel='alternate' type='text/html' href='http://datastructuresuic2008.blogspot.com/2008/10/introduction-to-subject.html' title='Introduction to the subject'/><author><name>mechelle</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://gaara.ws/images/gifs/34.gif'/></author><thr:total>0</thr:total></entry></feed>
