{"id":20240,"date":"2019-06-24T12:36:03","date_gmt":"2019-06-24T11:36:03","guid":{"rendered":"http:\/\/codecool.com\/?p=20240"},"modified":"2022-03-01T12:03:48","modified_gmt":"2022-03-01T11:03:48","slug":"struktury-danych-i-algorytmy-w-programowaniu","status":"publish","type":"post","link":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/","title":{"rendered":"Struktury danych i algorytmy w programowaniu"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"20240\" class=\"elementor elementor-20240\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-40b50f2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"40b50f2\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-93f9fb5\" data-id=\"93f9fb5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c9eb64b elementor-widget elementor-widget-text-editor\" data-id=\"c9eb64b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Algorytmy i struktury danych s\u0105 jedn\u0105 z podstawowych rzeczy, jakie powinien pozna\u0107 programista. Nale\u017c\u0105 one do elementarnej wiedzy, dzi\u0119ki kt\u00f3rej powstaj\u0105 konkretne operacje i zadania, jakie ma wykona\u0107 maszyna.<\/p><p>Algorytmy i struktury danych to obszerny dzia\u0142, od kt\u00f3rego z pewno\u015bci\u0105 warto zacz\u0105\u0107 <a href=\"https:\/\/codecool.com\/pl\/blog\/czasu-trwa-nauka-programowania\/\" target=\"_blank\" rel=\"noopener noreferrer\">zacz\u0105\u0107 nauk\u0119 programowania<\/a>, kt\u00f3ry pozwala pozna\u0107 zasady funkcjonowania program\u00f3w.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-295b16e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"295b16e\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c8ae0f5\" data-id=\"c8ae0f5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a5306cc elementor-widget elementor-widget-image\" data-id=\"a5306cc\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"540\" height=\"426\" src=\"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg\" class=\"attachment-large size-large wp-image-20241\" alt=\"\" srcset=\"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg 540w, https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1-300x237.jpg 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f924064 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f924064\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e57c4c0\" data-id=\"e57c4c0\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-a0e487c elementor-widget elementor-widget-heading\" data-id=\"a0e487c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Algorytmy i struktury danych<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9fd4b10 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9fd4b10\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cc80c06\" data-id=\"cc80c06\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d5c6566 elementor-widget elementor-widget-text-editor\" data-id=\"d5c6566\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Czym s\u0105 struktury danych? Struktury danych to zaawansowane pojemniki na dane, kt\u00f3re pomagaj\u0105 gromadzi\u0107 i uk\u0142ada\u0107 je w odpowiedni spos\u00f3b mimo ich r\u00f3\u017cnorodno\u015bci. Struktury danych tak\u017ce dopasowuj\u0105 si\u0119 rozmiarem do wielko\u015bci danych, s\u0105 obecne w wielu algorytmach i pozwalaj\u0105 na rozwi\u0105zywanie wielu kluczowych zagadnie\u0144 obliczeniowych. Na strukturach danych operuj\u0105 algorytmy.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-331f492 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"331f492\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-898480a\" data-id=\"898480a\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-845eaf0 elementor-widget elementor-widget-heading\" data-id=\"845eaf0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Rodzaje struktur danych<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e17c8b5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e17c8b5\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ce88073\" data-id=\"ce88073\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-39f8c9d elementor-widget elementor-widget-text-editor\" data-id=\"39f8c9d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Struktury danych dzielimy na:<\/p><ul><li>Rekord &#8211; jest najprostsz\u0105 struktur\u0105 danych, najcz\u0119\u015bciej wykorzystuje si\u0119 j\u0105 do prezentowania informacji tylko o jednym obiekcie. W trakcie dzia\u0142ania algorytmu rekord nie zmienia ani rozmiaru, ani struktury. Jest to statyczna struktura danych.<\/li><li>Tablica &#8211; w odr\u00f3\u017cnieniu od rekordu, tablica pozwala na przechowywanie wi\u0119kszej ilo\u015bci informacji. Jest to uporz\u0105dkowany zbi\u00f3r danych tego samego typu. Wyr\u00f3\u017cniamy tablice statyczne, w kt\u00f3rych rozmiar ustalony jest z g\u00f3ry oraz tablice dynamiczne, kt\u00f3re mog\u0105 si\u0119 zmienia\u0107 w trakcie dzia\u0142ania algorytmu.\u00a0<\/li><li>Lista &#8211; podobnie jak tablica, lista wykorzystywana jest do przechowywania wi\u0119kszej ilo\u015bci danych. Przypomina ona \u0142a\u0144cuszek, kt\u00f3ry z \u0142atwo\u015bci\u0105 obrazuje poszczeg\u00f3lne dane. Znaj\u0105c po\u0142o\u017cenie jej pocz\u0105tku, z \u0142atwo\u015bci\u0105 mo\u017cemy dodawa\u0107 do niej kolejne elementy. Wyr\u00f3\u017cnia si\u0119 dwa rodzaje listy:<ul><li>Lista wska\u017anikowa (ang. LinkedList) &#8211; ka\u017cdy element listy musi mie\u0107 dodan\u0105 now\u0105 warto\u015b\u0107, jak\u0105 jest wska\u017anik.<\/li><li>Lista tablicowa (ang. ArrayList) &#8211; implementacja listy tablicowej opiera si\u0119 na wprowadzeniu tablicy. Wyposa\u017cona jest ona w dodatkowe funkcje, np. usuwanie lub dodawanie poszczeg\u00f3lnych element\u00f3w. Wyr\u00f3\u017cniamy trzy rodzaje listy tablicowej:<ul><li>lista jednokierunkowa &#8211; ka\u017cdy element zawiera referencj\u0119 do nast\u0119pnego lub poprzedniego komponentu na li\u015bcie,<\/li><li>lista dwukierunkowa &#8211; ka\u017cdy element zawiera referencj\u0119 zar\u00f3wno do kolejnego, jak i poprzedniego komponentu w li\u015bcie. Umo\u017cliwia to poruszanie si\u0119 po li\u015bcie w g\u00f3r\u0119 i w d\u00f3\u0142,<\/li><li>lista cykliczna &#8211; pierwszy element powi\u0105zany jest z ostatnim, a ostatni z pierwszym. W ten spos\u00f3b powstaje zamkni\u0119ty cykl, po kt\u00f3rym mo\u017cna si\u0119 porusza\u0107 woko\u0142o. Lista cykliczna nie ma wska\u017anika pocz\u0105tkowego ani ko\u0144cowego.<\/li><\/ul><\/li><\/ul><\/li><li>Stos &#8211; znany tak\u017ce jako kolejka LIFO (ang. Last In, First Out), co oznacza ostatni na wej\u015bciu, pierwszy na wyj\u015bciu. Wykorzystywany podczas przeprowadzania operacji od najnowszych danych. Podstawowymi operacji w stosie s\u0105 <i>push<\/i>, czyli dodanie obiektu na wierzch stosu oraz <i>pop<\/i> odpowiadaj\u0105ce \u015bci\u0105gni\u0119ciu jednego elementu i zwr\u00f3ceniu jego zawarto\u015bci.<\/li><li>Kolejka &#8211; znana tak\u017ce jako FIFO (ang. First In, First Out), co oznacza pierwszy na wej\u015bciu, pierwszy na wyj\u015bciu. Przetwarzanie danych odbywa si\u0119 od element\u00f3w, kt\u00f3re pojawi\u0142y si\u0119 jako pierwsze. Ten rodzaj struktury danych dzia\u0142a jak typowa kolejka np. w sklepie, gdzie ka\u017cdy dodany element obs\u0142ugiwany jest na ko\u0144cu.<\/li><li>Drzewo &#8211; struktura danych odpowiadaj\u0105ca drzewu matematycznemu. Ukazuje ona hierarchi\u0119 danych w spos\u00f3b naturalny i do tego celu najcz\u0119\u015bciej jest wykorzystywana. Stosowanie drzew ponadto u\u0142atwia oraz przyspiesza wyszukiwanie konkretnych danych i przeprowadzanie na nich operacji, np. wyliczanie wszystkich element\u00f3w drzewa, dodawanie nowych w konkretnym miejscu czy ich usuwanie.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7180e3f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7180e3f\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b7d1808\" data-id=\"b7d1808\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0d4c3d6 elementor-widget elementor-widget-heading\" data-id=\"0d4c3d6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Czym s\u0105 algorytmy?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cd820da elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"cd820da\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-69043c8\" data-id=\"69043c8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-de5dd18 elementor-widget elementor-widget-text-editor\" data-id=\"de5dd18\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Co to jest algorytm? Definicyjnie algorytm jest sko\u0144czonym ci\u0105giem znak\u00f3w jasno zdefiniowanych czynno\u015bci, koniecznych do wykonania pewnego rodzaju zada\u0144. W prostych s\u0142owach algorytm to przepis na rozwi\u0105zanie jakiego\u015b problemu lub osi\u0105gni\u0119cie jakiego\u015b celu. Algorytmy s\u0105 wi\u0119c podstaw\u0105 programowania. Maszyna, aby wykona\u0107 dzia\u0142anie, potrzebuje jasno okre\u015blonej instrukcji, zapisanej krok po kroku.<\/p><p><strong>Zobacz r\u00f3wnie\u017c: <\/strong><a href=\"https:\/\/codecool.com\/pl\/wiedza\/czym-jest-algorytmika\/\" target=\"_blank\" rel=\"noopener noreferrer\">Czym jest algorytmika<\/a>?<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-9c682e2 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"9c682e2\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0ee1752\" data-id=\"0ee1752\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8a74b88 elementor-widget elementor-widget-heading\" data-id=\"8a74b88\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Analiza algorytm\u00f3w<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-7bb6e90 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7bb6e90\" data-element_type=\"section\" data-settings=\"{&quot;jet_parallax_layout_list&quot;:[]}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a7e9d9f\" data-id=\"a7e9d9f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-99594da elementor-widget elementor-widget-text-editor\" data-id=\"99594da\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Czym zajmuje si\u0119 analiza algorytm\u00f3w? Przede wszystkim por\u00f3wnywaniem ich pod wzgl\u0119dem nak\u0142ad\u00f3w obliczeniowych niezb\u0119dnych do uzyskania rozwi\u0105zania. Dokonuj\u0105c por\u00f3wnania pomi\u0119dzy dwoma programami, nale\u017cy zbada\u0107:<\/p><ul><li>liczb\u0119 wykonywanych operacji,<\/li><li>czas ich wykonania,<\/li><li>obci\u0105\u017cenie dla podzespo\u0142\u00f3w,<\/li><li>wydajno\u015b\u0107.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Algorytmy i struktury danych s\u0105 jedn\u0105 z podstawowych rzeczy, jakie powinien pozna\u0107 programista. Nale\u017c\u0105 one do elementarnej wiedzy, dzi\u0119ki kt\u00f3rej powstaj\u0105 konkretne operacje i zadania, jakie ma wykona\u0107 maszyna. Algorytmy i struktury danych to obszerny dzia\u0142, od kt\u00f3rego z pewno\u015bci\u0105 warto zacz\u0105\u0107 zacz\u0105\u0107 nauk\u0119 programowania, kt\u00f3ry pozwala pozna\u0107 zasady funkcjonowania program\u00f3w. Algorytmy i struktury danych [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":20241,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[133],"tags":[],"class_list":["post-20240","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wiedza"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.4 (Yoast SEO v24.4) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Struktury danych i algorytmy w programowaniu - Codecool<\/title>\n<meta name=\"description\" content=\"Algorytmy i struktury danych s\u0105 niezwykle istotne dla ka\u017cdego programisty w kontek\u015bcie bibliotek. Przeczytaj artyku\u0142!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Struktury danych i algorytmy w programowaniu\" \/>\n<meta property=\"og:description\" content=\"Algorytmy i struktury danych s\u0105 niezwykle istotne dla ka\u017cdego programisty w kontek\u015bcie bibliotek. Przeczytaj artyku\u0142!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/\" \/>\n<meta property=\"og:site_name\" content=\"Codecool\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CodecoolOfficial\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-24T11:36:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-01T11:03:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"540\" \/>\n\t<meta property=\"og:image:height\" content=\"426\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Dora Hoffman\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Codecool_global\" \/>\n<meta name=\"twitter:site\" content=\"@Codecool_global\" \/>\n<meta name=\"twitter:label1\" content=\"Napisane przez\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dora Hoffman\" \/>\n\t<meta name=\"twitter:label2\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minuty\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Struktury danych i algorytmy w programowaniu - Codecool","description":"Algorytmy i struktury danych s\u0105 niezwykle istotne dla ka\u017cdego programisty w kontek\u015bcie bibliotek. Przeczytaj artyku\u0142!","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:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/","og_locale":"pl_PL","og_type":"article","og_title":"Struktury danych i algorytmy w programowaniu","og_description":"Algorytmy i struktury danych s\u0105 niezwykle istotne dla ka\u017cdego programisty w kontek\u015bcie bibliotek. Przeczytaj artyku\u0142!","og_url":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/","og_site_name":"Codecool","article_publisher":"https:\/\/www.facebook.com\/CodecoolOfficial\/","article_published_time":"2019-06-24T11:36:03+00:00","article_modified_time":"2022-03-01T11:03:48+00:00","og_image":[{"width":540,"height":426,"url":"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg","type":"image\/jpeg"}],"author":"Dora Hoffman","twitter_card":"summary_large_image","twitter_creator":"@Codecool_global","twitter_site":"@Codecool_global","twitter_misc":{"Napisane przez":"Dora Hoffman","Szacowany czas czytania":"3 minuty"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#article","isPartOf":{"@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/"},"author":{"name":"Dora Hoffman","@id":"https:\/\/codecool.com\/pl\/#\/schema\/person\/622e226c942203940586ef2dceca8365"},"headline":"Struktury danych i algorytmy w programowaniu","datePublished":"2019-06-24T11:36:03+00:00","dateModified":"2022-03-01T11:03:48+00:00","mainEntityOfPage":{"@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/"},"wordCount":705,"commentCount":0,"publisher":{"@id":"https:\/\/codecool.com\/pl\/#organization"},"image":{"@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#primaryimage"},"thumbnailUrl":"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg","articleSection":["Wiedza"],"inLanguage":"pl-PL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/","url":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/","name":"Struktury danych i algorytmy w programowaniu - Codecool","isPartOf":{"@id":"https:\/\/codecool.com\/pl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#primaryimage"},"image":{"@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#primaryimage"},"thumbnailUrl":"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg","datePublished":"2019-06-24T11:36:03+00:00","dateModified":"2022-03-01T11:03:48+00:00","description":"Algorytmy i struktury danych s\u0105 niezwykle istotne dla ka\u017cdego programisty w kontek\u015bcie bibliotek. Przeczytaj artyku\u0142!","breadcrumb":{"@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#primaryimage","url":"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg","contentUrl":"https:\/\/codecool.com\/wp-content\/uploads\/2021\/12\/23268-1-540x426-1.jpg","width":540,"height":426},{"@type":"BreadcrumbList","@id":"https:\/\/codecool.com\/pl\/struktury-danych-i-algorytmy-w-programowaniu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codecool.com\/pl\/"},{"@type":"ListItem","position":2,"name":"Struktury danych i algorytmy w programowaniu"}]},{"@type":"WebSite","@id":"https:\/\/codecool.com\/pl\/#website","url":"https:\/\/codecool.com\/pl\/","name":"Codecool","description":"Next gen coding school &amp; career hub","publisher":{"@id":"https:\/\/codecool.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codecool.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/codecool.com\/pl\/#organization","name":"Codecool","alternateName":"Codecool","url":"https:\/\/codecool.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/codecool.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/codecool.com\/wp-content\/uploads\/2023\/09\/Codecool-logo-app.svg","contentUrl":"https:\/\/codecool.com\/wp-content\/uploads\/2023\/09\/Codecool-logo-app.svg","width":1,"height":1,"caption":"Codecool"},"image":{"@id":"https:\/\/codecool.com\/pl\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CodecoolOfficial\/","https:\/\/x.com\/Codecool_global","https:\/\/www.instagram.com\/codecool_official\/","https:\/\/www.linkedin.com\/school\/codecool\/"]},{"@type":"Person","@id":"https:\/\/codecool.com\/pl\/#\/schema\/person\/622e226c942203940586ef2dceca8365","name":"Dora Hoffman","image":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/codecool.com\/pl\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/13d568fb246033721321e216b8f5f06457e373d046558ceccec33b2e0dc025bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/13d568fb246033721321e216b8f5f06457e373d046558ceccec33b2e0dc025bc?s=96&d=mm&r=g","caption":"Dora Hoffman"}}]}},"_links":{"self":[{"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/posts\/20240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/comments?post=20240"}],"version-history":[{"count":0,"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/posts\/20240\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/media\/20241"}],"wp:attachment":[{"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/media?parent=20240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/categories?post=20240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codecool.com\/pl\/wp-json\/wp\/v2\/tags?post=20240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}