[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-684267-105":59,"doc-detail-684267-en":130,"doc-similar-684267":259},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","art-of-programming-contest-c-programming-tutorials-data-structures-algorithms","Art of Programming Contest - C Programming Tutorials - Data Structures - Algorithms","","Art of Programming Contest is a programming-oriented guide compiled by Ahmed Shamsul Arefin, reviewed and supported by academics and contest figures. The book focuses on key computer science contest topics including C programming, data structures, and algorithms, with later improvements such as STL usage, string manipulation, and handling mathematical functions. It is intended to help contestants during contest hours while also serving as an essential reference for computer science students.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/art-of-programming-contest-c-programming-tutorials-data-structures-algorithms/684267/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/art-of-programming-contest-c-programming-tutorials-data-structures-algorithms/684267.png","ImageObject",300,407,{"name":92,"@type":93},"Finn","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-12","2026-11-06",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What topics does the book emphasize for programming contests?","Question",{"text":112,"@type":113},"The book emphasizes C programming, data structures, and algorithms, aiming to support contestants during contest hours.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What improvements are introduced in the 2nd edition?",{"text":117,"@type":113},"The 2nd edition adds techniques such as STL (Standard Template Library), manipulating strings, and handling mathematical functions.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the 1st edition explain the motivation behind programming contests?",{"text":121,"@type":113},"It highlights that programmers enjoy contest battles for recognition and love for algorithms, and it reflects on the development of ACM-ICPC regional contests in Bangladesh.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},684267,1794004296,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},34359740700684,"https://ap-avatar.wpscdn.com/avatar/1f400023980c374ae676?_k=1777273430885731487","ART OF PROGRAMMING CONTEST  C Programming Tutorials | Data Structures | Algorithms   \nCompiled by  \nAhmed Shamsul Arefin  \nGraduate Student,  \nInstitute of Information and Comunicaion Technology Bangladesh University of Engineering and Technology (BUET) BSc. in Computer Science and Engineering, CUET  \nReviewed By  \nSteven Halim  \nSchool of Computing, National University of Singapore  \nSingapore.  \nDr. M. Lutfar Rahman  \nProfessor, Departent of Computer Science and Engineering  \nUniversity of Dhaka.  \nForeworded By  \nProfessor Miguel A. Revilla  \nACM-ICPC International Steering Committee Member and Problem Archivist University of Valladolid,  \nSpain.  \n[http://acmicpc-live-archive.uva.es](http://acmicpc-live-archive.uva.es)  \n[http://online-judge.uva.es](http://online-judge.uva.es)  \nGyankosh Prokashoni, Bangladesh  \nISBN 984-32-3382-4  \nDEDICATED TO  \nShahriar Manzoor  \nJudge ACM/ICPC World Finals 2003-2006  \n(Whose mails, posts and problems are invaluable to all programmers)  \nAnd  \nMy loving parents and colleagues  \n ACKNOWLEDGEMENTS   \nI would like to thank following people for supporting me and helping me for the significant improvement of my humble works. Infact, this list is still incomplete.  \nProfessor Miguel A. Revilla  \nDr. M Kaykobad Dr. M. Zafar Iqbal  \nDr. M. Lutfar Rahman Dr. Abu Taher Howard Cheng Steven Halim  \nShahriar Manzoor  \nCarlos Marcelino Casas Cuadrado Mahbub Murshed Suman Salahuddin Mohammad Masum Samiran Mahmud  \nMH Rasel  \nSadiq M. Alam Mehedi Bakht  \nAhsan Raja Chowdhury Mohammad Rubaiyat Ferdous Jewel KM Hasan  \nMonirul Islam Sharif Gahangir Hossain  \nS.MSaif Shams  \nShah Md. Shamsul Alam  \nUniversity of Valladolid, Spain. North South University, Bangladesh Shahjalal University of Science and Technology, Bangladesh University of Dhaka, Bangladesh Daffodil International University University of Lethbridge, Canada National University of Singapore, Singapore  \nSouth East University, Bangladesh University of Valladolid, Spain Arizona State University, USA Daffodil International University Dhaka University of Engineering and Technology  \nChittagong University of Engineering and Technology  \nNational University of Singapore, Singapore  \nBangladesh University of Engineering and Technology  \nUniversity of Dhaka  \nUniversity of Toronto, Canada North South University  \nGeorgia Institute of Technology,USA Chittagong University of Engineering and Technology  \nShahjalal University of Science and Technology  \nDaffodil International University  \nAuthor’s Biography: Ahmed Shamsul Arefin is completing his Masters from Bangladesh University of Engineering & Technology (BUET) and has completed [BSc. in](BSc. in) Coputer Science and Eningeering from CUET. In Computer Science and Engineering . He participated in the 2001 ACM Regional Contest in Dhaka, and his team was ranked 10th. He became contest organizer at  Valladolid online judge by arranging “Rockford Programming Contest 2001” and local Contest at several universities. His Programming Contest Training Website “[ACMSolver.org](ACMSolver.org)” has been linked with ACM UVa , USU and Polish Online Judge – Sphere.  \nHis research interests are Contests, Algorithms, Graph Theory and Web-based applications. His Contact E-mail : asarefin@yahoo.com Web: [http://www.daffodilvarsity.edu.bd/acmsolver/asarefin/](http://www.daffodilvarsity.edu.bd/acmsolver/asarefin/)  \nPreface to 2nd Edition  \nI am happy to be able to introduce the 2nd Edition of this book to the readers. The objective of this edition is not only to assist the contestants during the contest hours but also describing the core subjects of Computer Science such as C Programming, Data Structures and Algorithms. This edition is an improvement to the previous edition. Few more programming techniques like STL (Standard Template Library), manipulating strings and handling mathematical functions are introduced here.  \nIt is hoped that the new edition will be welcomed by all those for whom it is meant and this will bec","cbCaiqHOgfKrKKVJ","https://ap.wps.com/l/cbCaiqHOgfKrKKVJ","pdf",1863122,247,"English","# Acknowledgements\n## Preface to 2nd Edition\n## Preface to 1st Edition","[{\"question\":\"What topics does the book emphasize for programming contests?\",\"answer\":\"The book emphasizes C programming, data structures, and algorithms, aiming to support contestants during contest hours.\"},{\"question\":\"What improvements are introduced in the 2nd edition?\",\"answer\":\"The 2nd edition adds techniques such as STL (Standard Template Library), manipulating strings, and handling mathematical functions.\"},{\"question\":\"How does the 1st edition explain the motivation behind programming contests?\",\"answer\":\"It highlights that programmers enjoy contest battles for recognition and love for algorithms, and it reflects on the development of ACM-ICPC regional contests in Bangladesh.\"}]","Art of Programming Contest - C Programming Tutorials - Data Structures - Algorithms | PDF",622,25,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217,222,227,231,235,240,245,250,255],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/82957d2ce3269e325ef8d871b467a3be.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2a94031b4e7bfac67116420a5b020bd8.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b8ce001cbf874a211f1b1de1d6714e2c.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/99379c333bd6fe433949d25da21daa7c.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7111811498944e2dda795d5d61289d3f.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e40817c91ea1aa2c2265f4d74ed91449.webp",978,1265,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bc816888a34a60225aa63abc11056ae7.webp",977,1264,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a3ab181cded6d0506fe1bb37005f52e2.webp",976,1263,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/52762da2634a8b2aabecab6dfdb19a67.webp",975,1261,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5afc4de77995f543d7b5d0378a636653.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/715f614aacc0e751521cacb7416ce60f.webp",973,1259,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/835ad411f8bedccf1000c5a37197ffb1.webp",972,1257,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b121b7502e37f880f4e71595986583fd.webp",971,1256,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ba20b00e97bbb1ae39c0216ca1e607d1.webp",970,1255,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/46a92c351a4aa21122a278ccba206101.webp",969,1254,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/00f34c6b6d91ec98c029ef27ab1f511e.webp",968,1252,{"page_no":218,"url":219,"width":220,"height":221},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e0b9380da0fa20bd23478fc943dbdcce.webp",967,1251,{"page_no":223,"url":224,"width":225,"height":226},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/42c3e64df73cf6de57564c5d1aaeb6b7.webp",966,1250,{"page_no":56,"url":228,"width":229,"height":230},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d56c09b33d90309c774a7641a94ded06.webp",965,1248,{"page_no":46,"url":232,"width":233,"height":234},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/efcef72e2d7bb9934ace1c5af3448d4c.webp",964,1247,{"page_no":236,"url":237,"width":238,"height":239},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/1bd4048b3a81ced3fa6a32af4a84bfeb.webp",963,1246,{"page_no":241,"url":242,"width":243,"height":244},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/e4bd5abb9529f18d348a4533755d4303.webp",962,1245,{"page_no":246,"url":247,"width":248,"height":249},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d583e8892afc8187e2af387322b32e29.webp",961,1243,{"page_no":251,"url":252,"width":253,"height":254},24,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/59090f582f6be02b4bf9e388f23941d8.webp",960,1242,{"page_no":145,"url":256,"width":257,"height":258},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/98f4eac9bd94f8030da8d5dcb00299ec.webp",959,1241,{"list":260,"token":66},[261,267,274,280,286,292,298,304,310,316],{"doc_id":262,"doc_title":263,"file_type":137,"home_preview_img_url":264,"slug":265,"view_count":223,"category_name":30,"create_tm":266},397426,"BS Computer Science Course Map - 2026-2027","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918975752/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=LV67%2Bjy8RwwyPRKWHqgKxRFMA84%3D","bs-computer-science-course-map-2026-2027",1790461672,{"doc_id":268,"doc_title":269,"file_type":137,"home_preview_img_url":270,"slug":271,"view_count":272,"category_name":30,"create_tm":273},19181,"Computer Science Handbook","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229709435539/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=bHGX5txbqbR%2FF4RsWEZpjeTHp%2BQ%3D","computer-science-handbook",55,1777154972,{"doc_id":275,"doc_title":276,"file_type":137,"home_preview_img_url":277,"slug":278,"view_count":218,"category_name":30,"create_tm":279},311587,"AP Computer Science A Curriculum - Summer 2025","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907321790/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=J3LFEJHiFnhk7LkMidhMQl8xzT0%3D","ap-computer-science-a-curriculum-summer-2025",1789894498,{"doc_id":281,"doc_title":282,"file_type":137,"home_preview_img_url":283,"slug":284,"view_count":218,"category_name":30,"create_tm":285},341223,"AP Computer Science Principles One Pager","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910527643/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=a7SoCrIkMOpTyxlbCzJg8Q%2BS7aE%3D","ap-computer-science-principles-one-pager",1790041006,{"doc_id":287,"doc_title":288,"file_type":137,"home_preview_img_url":289,"slug":290,"view_count":223,"category_name":30,"create_tm":291},397871,"Computer Science, B.S. 2026-2027 - Program Description - Admission Requirements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918997512/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=8gGxB1YxEzpKaxwuIwoukxnD9gI%3D","computer-science-bs-2026-2027-program-description-admission-requirements",1790467710,{"doc_id":293,"doc_title":294,"file_type":137,"home_preview_img_url":295,"slug":296,"view_count":39,"category_name":30,"create_tm":297},488424,"Software_Engineering_2.pdf - Education - Software Engineering","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926855693/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=t1TOJ31K959HNBZCc%2BGFBUO2wWU%3D","software_engineering_2pdf-education-software-engineering",1790814028,{"doc_id":299,"doc_title":300,"file_type":137,"home_preview_img_url":301,"slug":302,"view_count":19,"category_name":30,"create_tm":303},697059,"FREE ACCESS E-BOOKS - CSE Department","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009784701/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=nMnVongxfgA2RbBUMi1INZltD0A%3D","free-access-e-books-cse-department",1794436126,{"doc_id":305,"doc_title":306,"file_type":137,"home_preview_img_url":307,"slug":308,"view_count":203,"category_name":30,"create_tm":309},311473,"AP Computer Science Principles Course Overview - Course Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229907320706/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=HycJRC9VJLbehnx24dSVpJ80aL4%3D","ap-computer-science-principles-course-overview-course-overview",1789894335,{"doc_id":311,"doc_title":312,"file_type":137,"home_preview_img_url":313,"slug":314,"view_count":213,"category_name":30,"create_tm":315},429039,"Vocabulary List for Computing Curriculum","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922821110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=oZsAMlqEYA5ZZW6JKftog0CvDV0%3D","vocabulary-list-for-computing-curriculum",1790648435,{"doc_id":317,"doc_title":318,"file_type":137,"home_preview_img_url":319,"slug":320,"view_count":188,"category_name":30,"create_tm":321},347820,"Introduction to Programming Using Java - Version 5.0 - About the book version","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911557945/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796132579&Signature=sW7JUuCyMWbUYSslLXSDJifJlf8%3D","introduction-to-programming-using-java-version-50-about-the-book-version",1790069243]