{"id":39,"date":"2009-04-02T15:53:14","date_gmt":"2009-04-02T20:53:14","guid":{"rendered":"http:\/\/wordpress.matbra.com\/?p=39"},"modified":"2010-07-20T21:00:36","modified_gmt":"2010-07-21T00:00:36","slug":"pilha-estrutura-de-dados","status":"publish","type":"post","link":"https:\/\/wordpress.matbra.com\/en\/2009\/04\/02\/pilha-estrutura-de-dados\/","title":{"rendered":"Stack, Data Structure."},"content":{"rendered":"<p>Good Night, <\/p>\n<p>What is Stack? Stack is a data structure of abstract data used a lot in computers, and it is based on the principle LIFO (Last in, first out). It has 2 basic functions, push and pop. It is simple right? <\/p>\n<p>The professor told us to solve this: <\/p>\n<blockquote><p>\n* Implement all operations about stack.<br \/>\n* Implement a program that use your stack. The program must have a menu with: pop, push, clean, show stack, exit. Use switch.<br \/>\n* When the program show each element from stack it must show the position of the stack.<br \/>\n* The stack must have max size of 30. As a constant named MAXPILHA<br \/>\n* The stack is referenced by a global reference.\n<\/p><\/blockquote>\n<p><a href=\"http:\/\/wordpress.matbra.com\/?attachment_id=45\">Stack, first implementation.<\/a><\/p>\n<p>Regards,<br \/>\nMatheus<\/p>\n<p>PS: I start translating \u201call\u201d old posts. Maybe this old ones, don\u2019t have all stuffs translated (like attachments in this one)<\/p>","protected":false},"excerpt":{"rendered":"<p>Good Night, What is Stack? Stack is a data structure of abstract data used a lot in computers, and it is based on the principle&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/wordpress.matbra.com\/en\/2009\/04\/02\/pilha-estrutura-de-dados\/\">Continue reading<span class=\"screen-reader-text\">Stack, Data Structure.<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[15,16],"tags":[315,18,24,13],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-c","category-estrutura-de-dados","tag-c","tag-exercicios","tag-pilha","tag-programacao","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/psjGE-D","_links":{"self":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}