{"id":20394,"date":"2023-01-31T03:17:02","date_gmt":"2023-01-31T03:17:02","guid":{"rendered":"https:\/\/www.booksofall.com\/in\/?post_type=product&#038;p=20394"},"modified":"2023-01-31T03:20:28","modified_gmt":"2023-01-31T03:20:28","slug":"open-data-structures-in-c","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/","title":{"rendered":"Open Data Structures (In C++)"},"content":{"rendered":"<p>Every <a href=\"https:\/\/en.wikipedia.org\/wiki\/Computer_science\">computer science<\/a> curriculum in the world includes a course on data structures and algorithms. <a href=\"https:\/\/www.geeksforgeeks.org\/data-structures\/\">Data structures<\/a> are that important; they improve our quality of life and even save lives on a regular basis. Many multi-million and several multi-billion dollar companies have been built around data structures.<\/p>\n<p>How can this be? If we stop to think about it, we realize that we interact with data structures constantly.<\/p>\n<p>\u2022 Open a file: File <a href=\"https:\/\/www.ibm.com\/docs\/ssw_aix_72\/osmanagement\/sysdatversuser.html\">system data<\/a> structures are used to locate the parts of that file on disk so they can be retrieved. This isn\u2019t easy; disks contain hundreds of millions of blocks. The contents of your file could be stored on any one of them.<\/p>\n<p>\u2022 Look up a contact on your phone: A data structure is used to look up a phone number in your contact list based on partial information even before you finish dialing\/typing. This isn\u2019t easy; your phone may contain information about a lot of people\u2014everyone you have ever contacted via phone or email\u2014and your phone doesn\u2019t have a very fast processor or a lot of memory.<\/p>\n<p>\u2022 Log in to your favourite<a href=\"https:\/\/en.wikipedia.org\/wiki\/The_Social_Network\"> social network<\/a>: The <a href=\"https:\/\/www.arrow.com\/en\/categories\/computer-products\/servers\/network-servers\">network servers<\/a> use your login information to look up your account information. This isn\u2019t easy; the most popular social networks have hundreds of millions of active users.<\/p>\n<p>\u2022 Do a<a href=\"https:\/\/courses.lumenlearning.com\/wm-compapp\/chapter\/web-searching\/\"> web search<\/a>: The search engine uses data structures to find the web pages containing your search terms. This isn\u2019t easy; there are over 8.5 billion web pages on the Internet and each page contains a lot of potential search terms.<\/p>\n<p>\u2022 Phone emergency services (9-1-1): The emergency services network looks up your phone number in a data structure that maps phone numbers to addresses so that police cars, ambulances, or fire trucks can be sent there without delay. This is important; the person making the call may not be able to provide the exact address they are calling from and a delay can mean the difference between life or death.<\/p>\n<p>We look at the operations supported by the most commonly used data structures. Anyone with a bit of programming experience will see that these operations are not hard to implement correctly. We can store the data in an array or a linked list and each operation can be implemented by iterating over all the elements of the array or list and possibly adding or removing an element.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/ods-cpp-18pl7ifnrj?enforceShowPromotionBar=true&amp;p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":20397,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":""},"product_brand":[],"product_cat":[278],"product_tag":[],"class_list":{"0":"post-20394","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-cpp","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Open Data Structures (In C++) - BooksOffAll Indian<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/\" \/>\n<meta property=\"og:locale\" content=\"hi_IN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Open Data Structures (In C++) - BooksOffAll Indian\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOffAll Indian\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-31T03:20:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png\" \/>\n<meta name=\"twitter:label1\" content=\"\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 \u092e\u093f\u0928\u091f\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/\",\"url\":\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/\",\"name\":\"Open Data Structures (In C++) - BooksOffAll Indian\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png\",\"datePublished\":\"2023-01-31T03:17:02+00:00\",\"dateModified\":\"2023-01-31T03:20:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#breadcrumb\"},\"inLanguage\":\"hi-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"hi-IN\",\"@id\":\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png\",\"width\":\"434\",\"height\":\"674\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/in\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Open Data Structures (In C++)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#website\",\"url\":\"https:\/\/www.booksofall.com\/in\/\",\"name\":\"BooksOffAll Indian\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"hi-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#organization\",\"name\":\"BooksOffAll Indian\",\"url\":\"https:\/\/www.booksofall.com\/in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"hi-IN\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOffAll Indian\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Open Data Structures (In C++) - BooksOffAll Indian","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/","og_locale":"hi_IN","og_type":"article","og_title":"Open Data Structures (In C++) - BooksOffAll Indian","og_url":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/","og_site_name":"BooksOffAll Indian","article_modified_time":"2023-01-31T03:20:28+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png","twitter_misc":{"\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f":"2 \u092e\u093f\u0928\u091f"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/","url":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/","name":"Open Data Structures (In C++) - BooksOffAll Indian","isPartOf":{"@id":"https:\/\/www.booksofall.com\/in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png","datePublished":"2023-01-31T03:17:02+00:00","dateModified":"2023-01-31T03:20:28+00:00","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#breadcrumb"},"inLanguage":"hi-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/"]}]},{"@type":"ImageObject","inLanguage":"hi-IN","@id":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#primaryimage","url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png","contentUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2023\/01\/img_63d8844e84b28.png","width":"434","height":"674"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/in\/open-data-structures-in-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/in\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/in\/categories\/"},{"@type":"ListItem","position":3,"name":"Open Data Structures (In C++)"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/in\/#website","url":"https:\/\/www.booksofall.com\/in\/","name":"BooksOffAll Indian","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"hi-IN"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/in\/#organization","name":"BooksOffAll Indian","url":"https:\/\/www.booksofall.com\/in\/","logo":{"@type":"ImageObject","inLanguage":"hi-IN","@id":"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOffAll Indian"},"image":{"@id":"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product\/20394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/media\/20397"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/media?parent=20394"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_brand?post=20394"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_cat?post=20394"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_tag?post=20394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}