{"id":172,"date":"2026-09-29T14:57:42","date_gmt":"2026-09-29T12:57:42","guid":{"rendered":"https:\/\/4cpit.myuniversity.pl\/?page_id=172"},"modified":"2026-11-17T15:38:27","modified_gmt":"2026-11-17T14:38:27","slug":"informatyka-rozszerzona-ra","status":"publish","type":"page","link":"https:\/\/4cpit.myuniversity.pl\/?page_id=172","title":{"rendered":"laskora_ir"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"172\" class=\"elementor elementor-172\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a7bf25a e-flex e-con-boxed e-con e-parent\" data-id=\"a7bf25a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4205516 elementor-widget elementor-widget-text-editor\" data-id=\"4205516\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p class=\"e-paragraph-base e-default-p\" style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\" data-interaction-id=\"1cf95a4\">Przyk\u0142ady <span style=\"font-weight: bolder;\">przest\u0119pstw w sieci (cyberprzest\u0119pstw)<\/span>:<\/p>\n<p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\"><span style=\"font-weight: bolder;\">Phishing<\/span> \u2013 podszywanie si\u0119 pod bank, sklep, urz\u0105d itp. w celu wy\u0142udzenia loginu, has\u0142a lub danych karty. CERT Polska opisuje m.in. fa\u0142szywe strony logowania.<br><span style=\"font-weight: bolder;\">DDoS \u2013 celowe przeci\u0105\u017canie serwera lub us\u0142ugi ogromn\u0105 liczb\u0105 \u017c\u0105da\u0144, aby uniemo\u017cliwi\u0107 korzystanie z niej. CERT Polska uwzgl\u0119dnia takie ataki w statystykach incydent\u00f3w.<br>Kradzie\u017c to\u017csamo\u015bci<\/span> \u2013 wykorzystanie cudzych danych lub konta do podszywania si\u0119 pod inn\u0105 osob\u0119.<br><span style=\"font-weight: bolder;\">Ransomware<\/span> \u2013 z\u0142o\u015bliwe oprogramowanie szyfruj\u0105ce pliki i \u017c\u0105daj\u0105ce okupu za ich odzyskanie.<br><span style=\"font-weight: bolder;\">Vishing i oszustwa telefoniczne \u2013 oszust podszywa si\u0119 np. pod pracownika banku i pr\u00f3buje wy\u0142udzi\u0107 dane lub nak\u0142oni\u0107 ofiar\u0119 do wykonania przelewu.<br>Kradzie\u017c danych i hase\u0142<\/span> \u2013 np. za pomoc\u0105 infostealer\u00f3w, kt\u00f3re mog\u0105 wykrada\u0107 dane logowania, cookies czy dane bankowe.<br><span style=\"font-weight: bolder;\">Oszustwa internetowe<\/span> \u2013 np. fa\u0142szywe sklepy, aukcje lub oferty inwestycyjne maj\u0105ce sk\u0142oni\u0107 ofiar\u0119 do przekazania pieni\u0119dzy.<\/p>\n<p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Definicja przest\u0119pstwa w sieci<br><span style=\"font-weight: bolder;\">Przest\u0119pstwo w sieci (cyberprzest\u0119pstwo)<\/span> to czyn zabroniony przez prawo, kt\u00f3ry jest pope\u0142niany za pomoc\u0105 internetu, komputera lub innych urz\u0105dze\u0144 cyfrowych albo jest wymierzony w systemy, dane lub u\u017cytkownik\u00f3w. Przyk\u0142adem jest w\u0142amanie na cudze konto, kradzie\u017c danych czy oszustwo internetowe.<\/p>\n<p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">Definicja wykroczenia w sieci<br><span style=\"font-weight: bolder;\">Wykroczenie w sieci<\/span> to czyn zabroniony przez prawo, kt\u00f3ry ma mniejsz\u0105 szkodliwo\u015b\u0107 ni\u017c przest\u0119pstwo i mo\u017ce polega\u0107 np. na okre\u015blonym bezprawnym zachowaniu z wykorzystaniem internetu. W polskim prawie o tym, czy dany czyn jest wykroczeniem, decyduj\u0105 konkretne przepisy<\/p>\n<p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\"><span style=\"font-weight: bolder;\">Algorytm<\/span>&#8212; jest <span style=\"font-weight: bolder;\">ci\u0105giem jasno okre\u015blonych krok\u00f3w<\/span>, kt\u00f3re przekszta\u0142caj\u0105 dane wej\u015bciowe w dane wyj\u015bciowe, prowadz\u0105c od stanu pocz\u0105tkowego do po\u017c\u0105danego stanu ko\u0144cowego <a style=\"color-scheme: unset; forced-color-adjust: unset; math-depth: unset; position: unset; position-anchor: unset; text-size-adjust: unset; appearance: unset; color: unset; font-feature-settings: unset; font-kerning: unset; font-language-override: unset; font-optical-sizing: unset; font-palette: unset; font-size-adjust: unset; font-stretch: unset; font-synthesis: unset; font-variant-alternates: unset; font-variant-east-asian: unset; font-variant-emoji: unset; font-variant-numeric: unset; font-variant-position: unset; font-variation-settings: unset; position-area: unset; text-orientation: unset; text-rendering: unset; text-spacing-trim: unset; -webkit-font-smoothing: unset; -webkit-locale: unset; -webkit-text-orientation: unset; -webkit-writing-mode: unset; writing-mode: unset; zoom: unset; accent-color: unset; place-content: unset; place-items: unset; place-self: unset; alignment-baseline: unset; anchor-name: unset; anchor-scope: unset; animation-composition: unset; animation: unset; animation-trigger: unset; app-region: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-image: unset; background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; baseline-source: unset; block-size: unset; border-block: unset; border: unset; border-radius: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-shape: unset; border-start-end-radius: unset; border-start-start-radius: unset; inset: unset; box-decoration-break: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-animation: unset; caret-color: unset; caret-shape: unset; clear: unset; clip: unset; clip-path: unset; clip-rule: unset; color-interpolation: unset; color-interpolation-filters: unset; color-rendering: unset; columns: unset; column-fill: unset; gap: unset; rule-break: unset; rule: unset; rule-inset: unset; rule-visibility-items: unset; column-span: unset; contain: unset; contain-intrinsic-block-size: unset; contain-intrinsic-size: unset; contain-intrinsic-inline-size: unset; container: unset; content: unset; content-visibility: unset; corner-shape: unset; corner-block-end-shape: unset; corner-block-start-shape: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; dynamic-range-limit: unset; empty-cells: unset; field-sizing: unset; fill: unset; fill-opacity: unset; fill-rule: unset; filter: unset; flex: unset; flex-flow: unset; flex-line-count: unset; float: unset; flood-color: unset; flood-opacity: unset; frame-sizing: unset; grid: unset; grid-area: unset; height: unset; hyphenate-character: unset; hyphenate-limit-chars: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; initial-letter: unset; inline-size: unset; inset-block: unset; inset-inline: unset; interactivity: unset; interest-delay: unset; interpolate-size: unset; isolation: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin: unset; margin-inline: unset; margin-trim: unset; marker: unset; mask: unset; mask-type: unset; math-shift: unset; math-style: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; object-view-box: unset; offset: unset; opacity: unset; order: unset; outline: unset; outline-offset: unset; overflow-anchor: unset; overflow-block: unset; overflow-clip-margin: unset; overflow-inline: unset; overflow-wrap: unset; overflow: unset; overlay: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding: unset; padding-inline: unset; page: unset; page-margin-safety: unset; page-orientation: unset; paint-order: unset; perspective: unset; perspective-origin: unset; pointer-events: unset; position-try: unset; position-visibility: unset; print-color-adjust: unset; quotes: unset; r: unset; reading-flow: unset; reading-order: unset; resize: unset; rotate: unset; ruby-align: unset; ruby-overhang: unset; ruby-position: unset; rule-overlap: unset; rx: unset; ry: unset; scale: unset; scroll-axis-lock: unset; scroll-behavior: unset; scroll-initial-target: unset; scroll-margin-block: unset; scroll-margin: unset; scroll-margin-inline: unset; scroll-marker-group: unset; scroll-padding-block: unset; scroll-padding: unset; scroll-padding-inline: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scroll-target-group: unset; scroll-timeline: unset; scrollbar-color: unset; scrollbar-gutter: unset; scrollbar-width: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-anchor: unset; text-autospace: unset; text-box: unset; text-combine-upright: unset; text-decoration: unset; text-decoration-skip-ink: unset; text-decoration-skip-spaces: unset; text-emphasis: unset; text-emphasis-position: unset; text-fit: unset; text-justify: unset; text-overflow: unset; text-shadow: unset; text-underline-offset: unset; text-underline-position: unset; text-wrap-style: unset; timeline-scope: unset; timeline-trigger: unset; touch-action: unset; transform: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transition: unset; translate: unset; trigger-scope: unset; user-select: unset; vector-effect: unset; vertical-align: unset; view-timeline: unset; view-transition-class: unset; view-transition-group: unset; view-transition-name: unset; view-transition-scope: unset; visibility: unset; border-spacing: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-mask-box-image: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-fill-color: unset; -webkit-text-security: unset; -webkit-text-stroke-color: unset; -webkit-user-drag: unset; width: unset; will-change: unset; window-drag: unset; word-break: unset; x: unset; y: unset; z-index: unset; cursor: pointer; background-color: #ffffff;\" href=\"https:\/\/www.bing.com\/ck\/a?!&amp;&amp;p=e02fdc83b3ffb4edf696735ff5b12d502a799eb49efe5eb349bd6e27733970e6JmltdHM9MTc5MDY0MDAwMA&amp;ptn=3&amp;ver=2&amp;hsh=4&amp;fclid=152c46fc-d0ab-6ca2-1b72-5136d18d6d23&amp;psq=definicja+algorytmu&amp;u=a1aHR0cHM6Ly9wbC53aWtpcGVkaWEub3JnL3dpa2kvQWxnb3J5dG0&amp;ntb=1\" target=\"_blank\" rel=\"noopener\">Wikipedia+1<\/a>. Mo\u017cna go por\u00f3wna\u0107 do przepisu kulinarnego, w kt\u00f3rym ka\u017cdy krok musi by\u0107 precyzyjny i wykonalny, aby osi\u0105gn\u0105\u0107 zamierzony efekt <a style=\"color-scheme: unset; forced-color-adjust: unset; math-depth: unset; position: unset; position-anchor: unset; text-size-adjust: unset; appearance: unset; color: unset; font-feature-settings: unset; font-kerning: unset; font-language-override: unset; font-optical-sizing: unset; font-palette: unset; font-size-adjust: unset; font-stretch: unset; font-synthesis: unset; font-variant-alternates: unset; font-variant-east-asian: unset; font-variant-emoji: unset; font-variant-numeric: unset; font-variant-position: unset; font-variation-settings: unset; position-area: unset; text-orientation: unset; text-rendering: unset; text-spacing-trim: unset; -webkit-font-smoothing: unset; -webkit-locale: unset; -webkit-text-orientation: unset; -webkit-writing-mode: unset; writing-mode: unset; zoom: unset; accent-color: unset; place-content: unset; place-items: unset; place-self: unset; alignment-baseline: unset; anchor-name: unset; anchor-scope: unset; animation-composition: unset; animation: unset; animation-trigger: unset; app-region: unset; aspect-ratio: unset; backdrop-filter: unset; backface-visibility: unset; background-attachment: unset; background-blend-mode: unset; background-clip: unset; background-image: unset; background-origin: unset; background-position: unset; background-repeat: unset; background-size: unset; baseline-shift: unset; baseline-source: unset; block-size: unset; border-block: unset; border: unset; border-radius: unset; border-collapse: unset; border-end-end-radius: unset; border-end-start-radius: unset; border-inline: unset; border-shape: unset; border-start-end-radius: unset; border-start-start-radius: unset; inset: unset; box-decoration-break: unset; box-shadow: unset; box-sizing: unset; break-after: unset; break-before: unset; break-inside: unset; buffered-rendering: unset; caption-side: unset; caret-animation: unset; caret-color: unset; caret-shape: unset; clear: unset; clip: unset; clip-path: unset; clip-rule: unset; color-interpolation: unset; color-interpolation-filters: unset; color-rendering: unset; columns: unset; column-fill: unset; gap: unset; rule-break: unset; rule: unset; rule-inset: unset; rule-visibility-items: unset; column-span: unset; contain: unset; contain-intrinsic-block-size: unset; contain-intrinsic-size: unset; contain-intrinsic-inline-size: unset; container: unset; content: unset; content-visibility: unset; corner-shape: unset; corner-block-end-shape: unset; corner-block-start-shape: unset; counter-increment: unset; counter-reset: unset; counter-set: unset; cx: unset; cy: unset; d: unset; display: unset; dominant-baseline: unset; dynamic-range-limit: unset; empty-cells: unset; field-sizing: unset; fill: unset; fill-opacity: unset; fill-rule: unset; filter: unset; flex: unset; flex-flow: unset; flex-line-count: unset; float: unset; flood-color: unset; flood-opacity: unset; frame-sizing: unset; grid: unset; grid-area: unset; height: unset; hyphenate-character: unset; hyphenate-limit-chars: unset; hyphens: unset; image-orientation: unset; image-rendering: unset; initial-letter: unset; inline-size: unset; inset-block: unset; inset-inline: unset; interactivity: unset; interest-delay: unset; interpolate-size: unset; isolation: unset; lighting-color: unset; line-break: unset; line-height: unset; list-style: unset; margin-block: unset; margin: unset; margin-inline: unset; margin-trim: unset; marker: unset; mask: unset; mask-type: unset; math-shift: unset; math-style: unset; max-block-size: unset; max-height: unset; max-inline-size: unset; max-width: unset; min-block-size: unset; min-height: unset; min-inline-size: unset; min-width: unset; mix-blend-mode: unset; object-fit: unset; object-position: unset; object-view-box: unset; offset: unset; opacity: unset; order: unset; outline: unset; outline-offset: unset; overflow-anchor: unset; overflow-block: unset; overflow-clip-margin: unset; overflow-inline: unset; overflow-wrap: unset; overflow: unset; overlay: unset; overscroll-behavior-block: unset; overscroll-behavior-inline: unset; overscroll-behavior: unset; padding-block: unset; padding: unset; padding-inline: unset; page: unset; page-margin-safety: unset; page-orientation: unset; paint-order: unset; perspective: unset; perspective-origin: unset; pointer-events: unset; position-try: unset; position-visibility: unset; print-color-adjust: unset; quotes: unset; r: unset; reading-flow: unset; reading-order: unset; resize: unset; rotate: unset; ruby-align: unset; ruby-overhang: unset; ruby-position: unset; rule-overlap: unset; rx: unset; ry: unset; scale: unset; scroll-axis-lock: unset; scroll-behavior: unset; scroll-initial-target: unset; scroll-margin-block: unset; scroll-margin: unset; scroll-margin-inline: unset; scroll-marker-group: unset; scroll-padding-block: unset; scroll-padding: unset; scroll-padding-inline: unset; scroll-snap-align: unset; scroll-snap-stop: unset; scroll-snap-type: unset; scroll-target-group: unset; scroll-timeline: unset; scrollbar-color: unset; scrollbar-gutter: unset; scrollbar-width: unset; shape-image-threshold: unset; shape-margin: unset; shape-outside: unset; shape-rendering: unset; size: unset; speak: unset; stop-color: unset; stop-opacity: unset; stroke: unset; stroke-dasharray: unset; stroke-dashoffset: unset; stroke-linecap: unset; stroke-linejoin: unset; stroke-miterlimit: unset; stroke-opacity: unset; stroke-width: unset; tab-size: unset; table-layout: unset; text-align-last: unset; text-anchor: unset; text-autospace: unset; text-box: unset; text-combine-upright: unset; text-decoration: unset; text-decoration-skip-ink: unset; text-decoration-skip-spaces: unset; text-emphasis: unset; text-emphasis-position: unset; text-fit: unset; text-justify: unset; text-overflow: unset; text-shadow: unset; text-underline-offset: unset; text-underline-position: unset; text-wrap-style: unset; timeline-scope: unset; timeline-trigger: unset; touch-action: unset; transform: unset; transform-box: unset; transform-origin: unset; transform-style: unset; transition: unset; translate: unset; trigger-scope: unset; user-select: unset; vector-effect: unset; vertical-align: unset; view-timeline: unset; view-transition-class: unset; view-transition-group: unset; view-transition-name: unset; view-transition-scope: unset; visibility: unset; border-spacing: unset; -webkit-box-align: unset; -webkit-box-decoration-break: unset; -webkit-box-direction: unset; -webkit-box-flex: unset; -webkit-box-ordinal-group: unset; -webkit-box-orient: unset; -webkit-box-pack: unset; -webkit-box-reflect: unset; -webkit-line-break: unset; -webkit-line-clamp: unset; -webkit-mask-box-image: unset; -webkit-rtl-ordering: unset; -webkit-ruby-position: unset; -webkit-tap-highlight-color: unset; -webkit-text-combine: unset; -webkit-text-decorations-in-effect: unset; -webkit-text-fill-color: unset; -webkit-text-security: unset; -webkit-text-stroke-color: unset; -webkit-user-drag: unset; width: unset; will-change: unset; window-drag: unset; word-break: unset; x: unset; y: unset; z-index: unset; cursor: pointer; background-color: #ffffff;\" href=\"https:\/\/www.bing.com\/ck\/a?!&amp;&amp;p=02b5a36279c6019c23fbf37e5960d2723a349faf663858c7411e9aa509d804c0JmltdHM9MTc5MDY0MDAwMA&amp;ptn=3&amp;ver=2&amp;hsh=4&amp;fclid=152c46fc-d0ab-6ca2-1b72-5136d18d6d23&amp;psq=definicja+algorytmu&amp;u=a1aHR0cHM6Ly9pdGVrLnBsL2N6eW0tamVzdC1hbGdvcnl0bS1pLWphay1kemlhbGEv&amp;ntb=1\" target=\"_blank\" rel=\"noopener\">itek.pl<\/a>. Algorytmy mog\u0105 by\u0107 wykonywane zar\u00f3wno przez cz\u0142owieka, jak i komputer, a w informatyce s\u0105 podstaw\u0105 programowania i automatyzacji proces\u00f3w&nbsp; &nbsp;&nbsp;<\/p>\n<p><span style=\"font-weight: bolder;\">Poj\u0119cie algorytmu<\/span> \u2013 przeci\u0119cie dw\u00f3ch odcink\u00f3w Przeci\u0119cie dw\u00f3ch odcink\u00f3w polega na sprawdzeniu, czy dwa odcinki na p\u0142aszczy\u017anie maj\u0105 przynajmniej jeden wsp\u00f3lny punkt. Mo\u017cliwe sytuacje: Odcinki przecinaj\u0105 si\u0119 \u2013 maj\u0105 jeden wsp\u00f3lny punkt. Odcinki nie przecinaj\u0105 si\u0119 \u2013 nie maj\u0105 wsp\u00f3lnych punkt\u00f3w. Odcinki nak\u0142adaj\u0105 si\u0119 \u2013 maj\u0105 wi\u0119cej ni\u017c jeden wsp\u00f3lny punkt. Przyk\u0142ad algorytmu Dane: dwa odcinki \\(AB\\) i \\(CD\\), okre\u015blone wsp\u00f3\u0142rz\u0119dnymi swoich ko\u0144c\u00f3w. Wczytaj wsp\u00f3\u0142rz\u0119dne punkt\u00f3w \\(A, B, C, D\\).Sprawd\u017a, czy odcinki maj\u0105 punkt wsp\u00f3lny. Je\u017celi maj\u0105 punkt wsp\u00f3lny, wypisz \u201eOdcinki przecinaj\u0105 si\u0119\u201d. W przeciwnym razie wypisz \u201eOdcinki nie przecinaj\u0105 si\u0119\u201d.<br>Zastosowanie: Algorytm ten wykorzystuje si\u0119 w grafice komputerowej, geometrii i programowaniu.<\/p>\n<p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p style=\"color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\">\n<\/p><p><strong>Przeci\u0119cie dw\u00f3ch odcink\u00f3w.<\/strong><\/p>\n<p><span style=\"font-size: 1rem;\">Mamy:<\/span><\/p>\n<p>AB \u2014 pierwszy odcinek<br>CD \u2014 drugi odcinek<br>Najwa\u017cniejsza funkcja: long long orient(Point A, Point B, Point C) {<br>return (B.x-A.x)*(C.y-A.y)<br>\u2013 (B.y-A.y)*(C.x-A.x);<br>}M\u00f3wi ona, po kt\u00f3rej stronie prostej AB znajduje si\u0119 C:&gt; 0 \u2014 jedna strona&lt; 0 \u2014 druga strona= 0 \u2014 punkty s\u0105 wsp\u00f3\u0142linioweLiczymy:o1 = orient(A,B,C);<br>o2 = orient(A,B,D);<br>o3 = orient(C,D,A);<br>o4 = orient(C,D,B);Je\u017celi C,D s\u0105 po przeciwnych stronach AB <strong>i<\/strong> A,B s\u0105 po przeciwnych stronach CD, to odcinki si\u0119 przecinaj\u0105.Czyli:(o1 &gt; 0 &amp;&amp; o2 &lt; 0 || o1 &lt; 0 &amp;&amp; o2 &gt; 0)<br>&amp;&amp;<br>(o3 &gt; 0 &amp;&amp; o4 &lt; 0 || o3 &lt; 0 &amp;&amp; o4 &gt; 0)Trzeba jeszcze obs\u0142u\u017cy\u0107 przypadek orient == 0, czyli gdy punkty s\u0105 wsp\u00f3\u0142liniowe i np. jeden odcinek le\u017cy na drugim.<br><strong>Z\u0142o\u017cono\u015b\u0107: O(1)<\/strong><br>Materia\u0142y:&nbsp;<a href=\"https:\/\/cp-algorithms.com\/geometry\/basic-geometry.html?utm_source=chatgpt.com\" target=\"_blank\" rel=\"noopener\">CP- Algorithms \u2014 Geometry<\/a><br>USACO Guide \u2014 Geometry<\/p>\n<p>1. Orientacja trzech punkt\u00f3w<br>U\u017cywamy wzoru: orient(A,B,C) =<br>(B.x-A.x)*(C.y-A.y)<br>\u2013 (B.y-A.y)*(C.x-A.x);Wynik:&gt; 0 \u2192 C jest po jednej stronie AB&lt; 0 \u2192 C jest po drugiej stronie AB= 0 \u2192 A, B, C s\u0105 wsp\u00f3\u0142liniowe2. Sprawdzamy cztery orientacjeo1 = orient(A,B,C);<br>o2 = orient(A,B,D);<\/p>\n<p>o3 = orient(C,D,A);<br>o4 = orient(C,D,B);Je\u015bli C i D s\u0105 po przeciwnych stronach AB <strong>oraz<\/strong> A i B s\u0105 po przeciwnych stronach CD, odcinki si\u0119 przecinaj\u0105.(o1 &gt; 0 &amp;&amp; o2 &lt; 0 || o1 &lt; 0 &amp;&amp; o2 &gt; 0)<br>&amp;&amp;<br>(o3 &gt; 0 &amp;&amp; o4 &lt; 0 || o3 &lt; 0 &amp;&amp; o4 &gt; 0)3. Przypadek orient == 0Je\u017celi orientacja wynosi 0, punkty s\u0105 wsp\u00f3\u0142liniowe.<br>Trzeba wtedy sprawdzi\u0107, czy punkt rzeczywi\u015bcie znajduje si\u0119 <strong>na odcinku<\/strong>, a nie tylko na tej samej prostej. min(A.x,B.x) &lt;= C.x &amp;&amp; C.x &lt;= max(A.x,B.x)<br>min(A.y,B.y) &lt;= C.y &amp;&amp; C.y &lt;= max(A.y,B.y)4. Zapami\u0119taj&nbsp;<strong>orient \u2192 sprawdza, po kt\u00f3rej stronie odcinka\/prostej znajduje si\u0119 punkt.<\/strong><br>Do przeci\u0119cia dw\u00f3ch odcink\u00f3w sprawdzamy <strong>4 orientacje<\/strong>.<br>Z\u0142o\u017cono\u015b\u0107:&nbsp;<strong>O(1)<\/strong> \u2014 sta\u0142a liczba operacji<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-bfac89a e-con e-atomic-element e-flexbox-base e-default-div e-365a553 \" data-id=\"bfac89a\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"bfac89a\">\n    \t\t\t<img fetchpriority=\"high\" decoding=\"async\" class=\"e-image-base e-default-img \" data-interaction-id=\"eb94e05\" id=\"567\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/10\/Zrzut-ekranu-2026-10-20-145642.png\" width=\"1125\" height=\"259\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/10\/Zrzut-ekranu-2026-10-20-145642.png 1125w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/10\/Zrzut-ekranu-2026-10-20-145642-300x69.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/10\/Zrzut-ekranu-2026-10-20-145642-1024x236.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/10\/Zrzut-ekranu-2026-10-20-145642-768x177.png 768w\" alt=\"\"\/>\t\t\n<\/div>\n<div class=\"elementor-element elementor-element-74bc7cd e-flex e-con-boxed e-con e-parent\" data-id=\"74bc7cd\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3f6ac0b elementor-widget elementor-widget-text-editor\" data-id=\"3f6ac0b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\">Algorytm sprawdzania przeci\u0119cia dw\u00f3ch odcink\u00f3w<\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Algorytm (pseudokod):<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\">Dane: ko\u0144ce dw\u00f3ch odcink\u00f3w A, B oraz C, D.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\">1. Wyznacz po\u0142o\u017cenie punkt\u00f3w wzgl\u0119dem prostych:<\/p><ul class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 xtaz4m5\" role=\"list\" data-d-component=\"list\" data-d-marker=\"bullet\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\">o1 = orientacja(A, B, C)<\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\">o2 = orientacja(A, B, D)<\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\">o3 = orientacja(C, D, A)<\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\">o4 = orientacja(C, D, B)<\/p><\/div><\/div><\/li><\/ul><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\">2. Je\u017celi odcinki przecinaj\u0105 si\u0119 lub maj\u0105 wsp\u00f3lny punkt, zwr\u00f3\u0107 <span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">PRAWDA<\/span>.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\">3. W przeciwnym przypadku zwr\u00f3\u0107 <span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">FA\u0141SZ<\/span>.<\/p><h3 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1c3i2sq xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\">Jak dzia\u0142a algorytm?<\/h3><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\">Algorytm analizuje po\u0142o\u017cenie ko\u0144c\u00f3w jednego odcinka wzgl\u0119dem drugiego. Je\u017celi punkty znajduj\u0105 si\u0119 po przeciwnych stronach odpowiednich prostych, oznacza to, \u017ce odcinki si\u0119 przecinaj\u0105. Dodatkowo uwzgl\u0119dnia sytuacje, w kt\u00f3rych ko\u0144ce si\u0119 stykaj\u0105 lub odcinki le\u017c\u0105 na tej samej prostej.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Cel algorytmu:<\/span> sprawdzenie, czy dwa odcinki posiadaj\u0105 przynajmniej jeden wsp\u00f3lny punkt.<\/p><div class=\"x1wwbdsi x86bw1a x1lziwak x15472z4 x1din3vl xkh2ocl x16ye13r xqkn89t x1vvogim   xl8spv7\" data-d-component=\"divider\" aria-hidden=\"true\">\u00a0<\/div><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\">2. Wyja\u015bnienie prostym j\u0119zykiem<\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\">Zadaniem algorytmu jest ustalenie, czy dwa odcinki maj\u0105 ze sob\u0105 jakikolwiek punkt wsp\u00f3lny.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\">Wyobra\u017a sobie dwa odcinki narysowane na kartce papieru. Algorytm sprawdza, czy si\u0119 przecinaj\u0105, dotykaj\u0105, czy te\u017c przebiegaj\u0105 obok siebie.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Krok 1.<\/span> Na pocz\u0105tku algorytm pobiera wsp\u00f3\u0142rz\u0119dne ko\u0144c\u00f3w obu odcink\u00f3w. Pierwszy odcinek to AB, a drugi to CD.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Krok 2.<\/span> Nast\u0119pnie okre\u015bla po\u0142o\u017cenie punkt\u00f3w wzgl\u0119dem prostych, na kt\u00f3rych znajduj\u0105 si\u0119 odcinki. Sprawdza, czy punkty le\u017c\u0105 po lewej stronie, po prawej stronie, czy bezpo\u015brednio na prostej.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Krok 3.<\/span> Kolejno sprawdza, czy ko\u0144ce jednego odcinka znajduj\u0105 si\u0119 po przeciwnych stronach drugiego odcinka oraz czy zachodzi taka sama sytuacja w drug\u0105 stron\u0119. Je\u015bli tak, oznacza to, \u017ce odcinki si\u0119 przecinaj\u0105.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Krok 4.<\/span> Algorytm uwzgl\u0119dnia r\u00f3wnie\u017c przypadki szczeg\u00f3lne, np. gdy odcinki stykaj\u0105 si\u0119 ko\u0144cami albo znajduj\u0105 si\u0119 na jednej prostej i cz\u0119\u015bciowo si\u0119 pokrywaj\u0105.<\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Krok 5.<\/span> Na ko\u0144cu zwraca odpowiedni wynik:<\/p><ul class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 xtaz4m5\" role=\"list\" data-d-component=\"list\" data-d-marker=\"bullet\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">PRAWDA<\/span> \u2013 gdy oba odcinki maj\u0105 przynajmniej jeden wsp\u00f3lny punkt.<\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">FA\u0141SZ<\/span> \u2013 gdy odcinki nie maj\u0105 ze sob\u0105 \u017cadnego punktu wsp\u00f3lnego.<\/p><\/div><\/div><\/li><\/ul><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\">Najwa\u017cniejsze do zapami\u0119tania:<\/span> algorytm wykorzystuje wsp\u00f3\u0142rz\u0119dne punkt\u00f3w oraz obliczenia matematyczne do sprawdzenia, czy dwa odcinki si\u0119 przecinaj\u0105. Nie trzeba ich rysowa\u0107, poniewa\u017c wszystkie potrzebne informacje mo\u017cna uzyska\u0107 za pomoc\u0105 oblicze\u0144.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-d435b42 e-flex e-con-boxed e-con e-parent\" data-id=\"d435b42\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-569d9e7 elementor-widget elementor-widget-text-editor\" data-id=\"569d9e7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">Otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a<\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">poj\u0119cie<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">dzia\u0142anie<\/span> <span data-d-streaming-word=\"\">algorytmu<\/span><\/h1><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">1.<\/span> <span data-d-streaming-word=\"\">Co<\/span> <span data-d-streaming-word=\"\">to<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a?<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a<\/span> <span data-d-streaming-word=\"\">(ang.<\/span> <span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x14rh7hd x1k4tb9n xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">convex<\/span> <span data-d-streaming-word=\"\">hull<\/span><\/span><span data-d-streaming-word=\"\">)<\/span> <span data-d-streaming-word=\"\">to<\/span> <span data-d-streaming-word=\"\">najmniejszy<\/span> <span data-d-streaming-word=\"\">wypuk\u0142y<\/span> <span data-d-streaming-word=\"\">wielok\u0105t,<\/span> <span data-d-streaming-word=\"\">kt\u00f3ry<\/span> <span data-d-streaming-word=\"\">obejmuje<\/span> <span data-d-streaming-word=\"\">wszystkie<\/span> <span data-d-streaming-word=\"\">podane<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">p\u0142aszczy\u017anie.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Mo\u017cna<\/span> <span data-d-streaming-word=\"\">j\u0105<\/span> <span data-d-streaming-word=\"\">sobie<\/span> <span data-d-streaming-word=\"\">wyobrazi\u0107<\/span> <span data-d-streaming-word=\"\">jako<\/span> <span data-d-streaming-word=\"\">gumk\u0119<\/span> <span data-d-streaming-word=\"\">recepturk\u0119<\/span> <span data-d-streaming-word=\"\">za\u0142o\u017con\u0105<\/span> <span data-d-streaming-word=\"\">wok\u00f3\u0142<\/span> <span data-d-streaming-word=\"\">grupy<\/span> <span data-d-streaming-word=\"\">pinezek<\/span> <span data-d-streaming-word=\"\">wbitych<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">desk\u0119.<\/span> <span data-d-streaming-word=\"\">Gumka<\/span> <span data-d-streaming-word=\"\">napina<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">wok\u00f3\u0142<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w<\/span> <span data-d-streaming-word=\"\">znajduj\u0105cych<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">najbardziej<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">zewn\u0105trz,<\/span> <span data-d-streaming-word=\"\">tworz\u0105c<\/span> <span data-d-streaming-word=\"\">zamkni\u0119t\u0105<\/span> <span data-d-streaming-word=\"\">granic\u0119.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Punkty<\/span> <span data-d-streaming-word=\"\">znajduj\u0105ce<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">wewn\u0105trz<\/span> <span data-d-streaming-word=\"\">wielok\u0105ta<\/span> <span data-d-streaming-word=\"\">nie<\/span> <span data-d-streaming-word=\"\">tworz\u0105<\/span> <span data-d-streaming-word=\"\">jego<\/span> <span data-d-streaming-word=\"\">zewn\u0119trznego<\/span> <span data-d-streaming-word=\"\">brzegu.<\/span> <span data-d-streaming-word=\"\">Otoczk\u0119<\/span> <span data-d-streaming-word=\"\">wyznaczaj\u0105<\/span> <span data-d-streaming-word=\"\">przede<\/span> <span data-d-streaming-word=\"\">wszystkim<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">skrajne.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">2.<\/span> <span data-d-streaming-word=\"\">Jak<\/span> <span data-d-streaming-word=\"\">dzia\u0142a<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">otoczki<\/span> <span data-d-streaming-word=\"\">wypuk\u0142ej?<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Algorytm<\/span> <span data-d-streaming-word=\"\">otrzymuje<\/span> <span data-d-streaming-word=\"\">zbi\u00f3r<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w<\/span> <span data-d-streaming-word=\"\">o<\/span> <span data-d-streaming-word=\"\">okre\u015blonych<\/span> <span data-d-streaming-word=\"\">wsp\u00f3\u0142rz\u0119dnych<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">wyszukuje<\/span> <span data-d-streaming-word=\"\">te,<\/span> <span data-d-streaming-word=\"\">kt\u00f3re<\/span> <span data-d-streaming-word=\"\">tworz\u0105<\/span> <span data-d-streaming-word=\"\">zewn\u0119trzn\u0105<\/span> <span data-d-streaming-word=\"\">granic\u0119<\/span> <span data-d-streaming-word=\"\">wielok\u0105ta.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">W<\/span> <span data-d-streaming-word=\"\">uproszczeniu<\/span> <span data-d-streaming-word=\"\">jego<\/span> <span data-d-streaming-word=\"\">dzia\u0142anie<\/span> <span data-d-streaming-word=\"\">wygl\u0105da<\/span> <span data-d-streaming-word=\"\">nast\u0119puj\u0105co:<\/span><\/p><ol class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 x3yw8vx\" role=\"list\" data-d-component=\"list\" data-d-marker=\"number\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Wczytuje<\/span> <span data-d-streaming-word=\"\">punkty<\/span><\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">ka\u017cdy<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">posiada<\/span> <span data-d-streaming-word=\"\">wsp\u00f3\u0142rz\u0119dne<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">x<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">x<\/span><\/span><\/span><\/span><\/span> <span data-d-streaming-word=\"\">oraz<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">y<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">y<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Wyszukuje<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">skrajne<\/span><\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">okre\u015bla,<\/span> <span data-d-streaming-word=\"\">kt\u00f3re<\/span> <span data-d-streaming-word=\"\">z<\/span> <span data-d-streaming-word=\"\">nich<\/span> <span data-d-streaming-word=\"\">mog\u0105<\/span> <span data-d-streaming-word=\"\">nale\u017ce\u0107<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">zewn\u0119trznej<\/span> <span data-d-streaming-word=\"\">granicy.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Wyznacza<\/span> <span data-d-streaming-word=\"\">kraw\u0119dzie<\/span><\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">\u0142\u0105czy<\/span> <span data-d-streaming-word=\"\">odpowiednie<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">za<\/span> <span data-d-streaming-word=\"\">pomoc\u0105<\/span> <span data-d-streaming-word=\"\">odcink\u00f3w.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Sprawdza<\/span> <span data-d-streaming-word=\"\">kierunek<\/span> <span data-d-streaming-word=\"\">skr\u0119tu<\/span><\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">analizuje,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">kolejne<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">tworz\u0105<\/span> <span data-d-streaming-word=\"\">prawid\u0142owy<\/span> <span data-d-streaming-word=\"\">zewn\u0119trzny<\/span> <span data-d-streaming-word=\"\">brzeg.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Usuwa<\/span> <span data-d-streaming-word=\"\">zb\u0119dne<\/span> <span data-d-streaming-word=\"\">punkty<\/span><\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">pomija<\/span> <span data-d-streaming-word=\"\">punkty,<\/span> <span data-d-streaming-word=\"\">kt\u00f3re<\/span> <span data-d-streaming-word=\"\">powodowa\u0142yby<\/span> <span data-d-streaming-word=\"\">powstanie<\/span> <span data-d-streaming-word=\"\">wci\u0119cia<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">wn\u0119trza<\/span> <span data-d-streaming-word=\"\">wielok\u0105ta.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Zwraca<\/span> <span data-d-streaming-word=\"\">wynik<\/span><\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">uporz\u0105dkowan\u0105<\/span> <span data-d-streaming-word=\"\">list\u0119<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w<\/span> <span data-d-streaming-word=\"\">tworz\u0105cych<\/span> <span data-d-streaming-word=\"\">otoczk\u0119<\/span> <span data-d-streaming-word=\"\">wypuk\u0142\u0105.<\/span><\/p><\/div><\/div><\/li><\/ol><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">3.<\/span> <span data-d-streaming-word=\"\">Sk\u0105d<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">wie,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">znajduje<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">we<\/span> <span data-d-streaming-word=\"\">w\u0142a\u015bciwym<\/span> <span data-d-streaming-word=\"\">miejscu?<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">W<\/span> <span data-d-streaming-word=\"\">jednym<\/span> <span data-d-streaming-word=\"\">z<\/span> <span data-d-streaming-word=\"\">popularnych<\/span> <span data-d-streaming-word=\"\">rozwi\u0105za\u0144,<\/span> <span data-d-streaming-word=\"\">czyli<\/span> <span data-d-streaming-word=\"\">algorytmie<\/span> <span data-d-streaming-word=\"\">monotonicznego<\/span> <span data-d-streaming-word=\"\">\u0142a\u0144cucha<\/span> <span data-d-streaming-word=\"\">(Andrew&#8217;s<\/span> <span data-d-streaming-word=\"\">Monotone<\/span> <span data-d-streaming-word=\"\">Chain),<\/span> <span data-d-streaming-word=\"\">wykorzystywany<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">iloczyn<\/span> <span data-d-streaming-word=\"\">wektorowy.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Pozwala<\/span> <span data-d-streaming-word=\"\">on<\/span> <span data-d-streaming-word=\"\">sprawdzi\u0107,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">przej\u015bcie<\/span> <span data-d-streaming-word=\"\">przez<\/span> <span data-d-streaming-word=\"\">trzy<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">A<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">A<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">,<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">B<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">B<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">,<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">C<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">C<\/span><\/span><\/span><\/span><\/span> <span data-d-streaming-word=\"\">oznacza<\/span> <span data-d-streaming-word=\"\">skr\u0119t<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">lewo,<\/span> <span data-d-streaming-word=\"\">skr\u0119t<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">prawo<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">brak<\/span> <span data-d-streaming-word=\"\">skr\u0119tu.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dla<\/span> <span data-d-streaming-word=\"\">wsp\u00f3\u0142rz\u0119dnych<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w<\/span> <span data-d-streaming-word=\"\">wykonujemy<\/span> <span data-d-streaming-word=\"\">obliczenie:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">s=(Bx\u2212Ax)(Cy\u2212Ay)\u2212(By\u2212Ay)(Cx\u2212Ax)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">s<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">B<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">C<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">B<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">C<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Interpretacja<\/span> <span data-d-streaming-word=\"\">wyniku:<\/span><\/p><ul class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 xtaz4m5\" role=\"list\" data-d-component=\"list\" data-d-marker=\"bullet\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Je\u015bli<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">s&gt;0<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">s<\/span><span class=\"mrel\">&gt;<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">,<\/span> <span data-d-streaming-word=\"\">wyst\u0119puje<\/span> <span data-d-streaming-word=\"\">skr\u0119t<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">lewo.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Je\u015bli<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">s&lt;0<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">s<\/span><span class=\"mrel\">&lt;<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">,<\/span> <span data-d-streaming-word=\"\">wyst\u0119puje<\/span> <span data-d-streaming-word=\"\">skr\u0119t<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">prawo.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Je\u015bli<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">s=0<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">s<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">,<\/span> <span data-d-streaming-word=\"\">wszystkie<\/span> <span data-d-streaming-word=\"\">trzy<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">le\u017c\u0105<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">jednej<\/span> <span data-d-streaming-word=\"\">prostej.<\/span><\/p><\/div><\/div><\/li><\/ul><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Na<\/span> <span data-d-streaming-word=\"\">podstawie<\/span> <span data-d-streaming-word=\"\">otrzymanego<\/span> <span data-d-streaming-word=\"\">wyniku<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">decyduje,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">dany<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">powinien<\/span> <span data-d-streaming-word=\"\">pozosta\u0107<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">otoczce,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">nale\u017cy<\/span> <span data-d-streaming-word=\"\">go<\/span> <span data-d-streaming-word=\"\">usun\u0105\u0107.<\/span> <span data-d-streaming-word=\"\">Decyzja<\/span> <span data-d-streaming-word=\"\">zale\u017cy<\/span> <span data-d-streaming-word=\"\">od<\/span> <span data-d-streaming-word=\"\">tego,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">aktualnie<\/span> <span data-d-streaming-word=\"\">budowana<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">dolna,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">g\u00f3rna<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">otoczki.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">4.<\/span> <span data-d-streaming-word=\"\">Do<\/span> <span data-d-streaming-word=\"\">czego<\/span> <span data-d-streaming-word=\"\">wykorzystuje<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">otoczk\u0119<\/span> <span data-d-streaming-word=\"\">wypuk\u0142\u0105?<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a<\/span> <span data-d-streaming-word=\"\">znajduje<\/span> <span data-d-streaming-word=\"\">zastosowanie<\/span> <span data-d-streaming-word=\"\">mi\u0119dzy<\/span> <span data-d-streaming-word=\"\">innymi<\/span> <span data-d-streaming-word=\"\">w:<\/span><\/p><ul class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 xtaz4m5\" role=\"list\" data-d-component=\"list\" data-d-marker=\"bullet\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">grafice<\/span> <span data-d-streaming-word=\"\">komputerowej,<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">robotyce,<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">geografii,<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">analizie<\/span> <span data-d-streaming-word=\"\">danych<\/span> <span data-d-streaming-word=\"\">przestrzennych.<\/span><\/p><\/div><\/div><\/li><\/ul><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wykorzystuje<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">j\u0105<\/span> <span data-d-streaming-word=\"\">wsz\u0119dzie<\/span> <span data-d-streaming-word=\"\">tam,<\/span> <span data-d-streaming-word=\"\">gdzie<\/span> <span data-d-streaming-word=\"\">potrzebne<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">wyznaczenie<\/span> <span data-d-streaming-word=\"\">zewn\u0119trznej<\/span> <span data-d-streaming-word=\"\">granicy<\/span> <span data-d-streaming-word=\"\">zbioru<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Najwa\u017cniejsze<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">zapami\u0119tania:<\/span><\/span> <span data-d-streaming-word=\"\">otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a<\/span> <span data-d-streaming-word=\"\">okre\u015bla<\/span> <span data-d-streaming-word=\"\">zewn\u0119trzny<\/span> <span data-d-streaming-word=\"\">obrys<\/span> <span data-d-streaming-word=\"\">wszystkich<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w.<\/span> <span data-d-streaming-word=\"\">Algorytm<\/span> <span data-d-streaming-word=\"\">analizuje<\/span> <span data-d-streaming-word=\"\">ich<\/span> <span data-d-streaming-word=\"\">po\u0142o\u017cenie<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">wybiera<\/span> <span data-d-streaming-word=\"\">te,<\/span> <span data-d-streaming-word=\"\">kt\u00f3re<\/span> <span data-d-streaming-word=\"\">tworz\u0105<\/span> <span data-d-streaming-word=\"\">najmniejszy<\/span> <span data-d-streaming-word=\"\">wypuk\u0142y<\/span> <span data-d-streaming-word=\"\">wielok\u0105t<\/span> <span data-d-streaming-word=\"\">obejmuj\u0105cy<\/span> <span data-d-streaming-word=\"\">ca\u0142y<\/span> <span data-d-streaming-word=\"\">zbi\u00f3r.<\/span><\/p><div class=\"x1wwbdsi x86bw1a x1lziwak x15472z4 x1din3vl xkh2ocl x16ye13r xqkn89t x1vvogim xl8spv7\" data-d-component=\"divider\" aria-hidden=\"true\">\u00a0<\/div><h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">Otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a<\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">Andrew&#8217;a<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">Pythonie<\/span><\/h1><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">1.<\/span> <span data-d-streaming-word=\"\">Co<\/span> <span data-d-streaming-word=\"\">to<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a?<\/span> <span data-d-streaming-word=\"\">(29.09.2026<\/span> <span data-d-streaming-word=\"\">r.)<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Otoczka<\/span> <span data-d-streaming-word=\"\">wypuk\u0142a<\/span> <span data-d-streaming-word=\"\">(ang.<\/span> <span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x14rh7hd x1k4tb9n xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">convex<\/span> <span data-d-streaming-word=\"\">hull<\/span><\/span><span data-d-streaming-word=\"\">)<\/span> <span data-d-streaming-word=\"\">to<\/span> <span data-d-streaming-word=\"\">najmniejszy<\/span> <span data-d-streaming-word=\"\">wypuk\u0142y<\/span> <span data-d-streaming-word=\"\">wielok\u0105t<\/span> <span data-d-streaming-word=\"\">zawieraj\u0105cy<\/span> <span data-d-streaming-word=\"\">wszystkie<\/span> <span data-d-streaming-word=\"\">podane<\/span> <span data-d-streaming-word=\"\">punkty.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Mo\u017cna<\/span> <span data-d-streaming-word=\"\">j\u0105<\/span> <span data-d-streaming-word=\"\">por\u00f3wna\u0107<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">gumki<\/span> <span data-d-streaming-word=\"\">recepturki<\/span> <span data-d-streaming-word=\"\">za\u0142o\u017conej<\/span> <span data-d-streaming-word=\"\">wok\u00f3\u0142<\/span> <span data-d-streaming-word=\"\">grupy<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w.<\/span> <span data-d-streaming-word=\"\">Miejsca,<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">kt\u00f3rych<\/span> <span data-d-streaming-word=\"\">gumka<\/span> <span data-d-streaming-word=\"\">styka<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">z<\/span> <span data-d-streaming-word=\"\">najbardziej<\/span> <span data-d-streaming-word=\"\">zewn\u0119trznymi<\/span> <span data-d-streaming-word=\"\">punktami,<\/span> <span data-d-streaming-word=\"\">wyznaczaj\u0105<\/span> <span data-d-streaming-word=\"\">otoczk\u0119<\/span> <span data-d-streaming-word=\"\">wypuk\u0142\u0105.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">2.<\/span> <span data-d-streaming-word=\"\">Algorytm<\/span> <span data-d-streaming-word=\"\">Andrew&#8217;a<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Algorytm<\/span> <span data-d-streaming-word=\"\">Andrew&#8217;a,<\/span> <span data-d-streaming-word=\"\">znany<\/span> <span data-d-streaming-word=\"\">r\u00f3wnie\u017c<\/span> <span data-d-streaming-word=\"\">jako<\/span> <span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x14rh7hd x1k4tb9n xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Monotone<\/span> <span data-d-streaming-word=\"\">Chain<\/span><\/span><span data-d-streaming-word=\"\">,<\/span> <span data-d-streaming-word=\"\">s\u0142u\u017cy<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">wyznaczania<\/span> <span data-d-streaming-word=\"\">otoczki<\/span> <span data-d-streaming-word=\"\">wypuk\u0142ej<\/span> <span data-d-streaming-word=\"\">dla<\/span> <span data-d-streaming-word=\"\">zbioru<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Jego<\/span> <span data-d-streaming-word=\"\">z\u0142o\u017cono\u015b\u0107<\/span> <span data-d-streaming-word=\"\">czasowa<\/span> <span data-d-streaming-word=\"\">wynosi:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">O(nlog\u2061n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mop\">log<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Algorytm<\/span> <span data-d-streaming-word=\"\">sk\u0142ada<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">z<\/span> <span data-d-streaming-word=\"\">kilku<\/span> <span data-d-streaming-word=\"\">g\u0142\u00f3wnych<\/span> <span data-d-streaming-word=\"\">etap\u00f3w:<\/span><\/p><ol class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 x3yw8vx\" role=\"list\" data-d-component=\"list\" data-d-marker=\"number\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Sortujemy<\/span> <span data-d-streaming-word=\"\">wszystkie<\/span> <span data-d-streaming-word=\"\">punkty.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wyznaczamy<\/span> <span data-d-streaming-word=\"\">doln\u0105<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">otoczki.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wyznaczamy<\/span> <span data-d-streaming-word=\"\">g\u00f3rn\u0105<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">otoczki.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">\u0141\u0105czymy<\/span> <span data-d-streaming-word=\"\">obie<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">jeden<\/span> <span data-d-streaming-word=\"\">wielok\u0105t.<\/span><\/p><\/div><\/div><\/li><\/ol><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">3.<\/span> <span data-d-streaming-word=\"\">Iloczyn<\/span> <span data-d-streaming-word=\"\">wektorowy<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Jedn\u0105<\/span> <span data-d-streaming-word=\"\">z<\/span> <span data-d-streaming-word=\"\">najwa\u017cniejszych<\/span> <span data-d-streaming-word=\"\">operacji<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">algorytmie<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">sprawdzanie<\/span> <span data-d-streaming-word=\"\">kierunku<\/span> <span data-d-streaming-word=\"\">skr\u0119tu<\/span> <span data-d-streaming-word=\"\">trzech<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dla<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">A=(x1,y1)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">A<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">x<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">1<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mpunct\">,<\/span><span class=\"mord\"><span class=\"mord mathnormal\">y<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">1<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">B=(x2,y2)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">B<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">x<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">2<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mpunct\">,<\/span><span class=\"mord\"><span class=\"mord mathnormal\">y<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">2<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">C=(x3,y3)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">C<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">x<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">3<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mpunct\">,<\/span><span class=\"mord\"><span class=\"mord mathnormal\">y<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mtight\">3<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Obliczamy:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">(Bx\u2212Ax)(Cy\u2212Ay)\u2212(By\u2212Ay)(Cx\u2212Ax)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">B<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">C<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">B<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">y<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><span class=\"mopen\">(<\/span><span class=\"mord\"><span class=\"mord mathnormal\">C<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\"><span class=\"mord mathnormal\">A<\/span><span class=\"msupsub\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\"><span class=\"katex-sizing reset-size6 size3 mtight\"><span class=\"mord mathnormal mtight\">x<\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><\/span><\/span><\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">W<\/span> <span data-d-streaming-word=\"\">Pythonie<\/span> <span data-d-streaming-word=\"\">mo\u017cemy<\/span> <span data-d-streaming-word=\"\">zapisa\u0107<\/span> <span data-d-streaming-word=\"\">to<\/span> <span data-d-streaming-word=\"\">jako<\/span> <span data-d-streaming-word=\"\">funkcj\u0119:<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-70662a1 e-con e-atomic-element e-flexbox-base e-default-div \" data-id=\"70662a1\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"70662a1\">\n    \t\t\t<img decoding=\"async\" class=\"e-image-base e-default-img \" data-interaction-id=\"f5cf8e4\" id=\"1191\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-17-145225.png\" width=\"778\" height=\"170\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-17-145225.png 778w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-17-145225-300x66.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-17-145225-768x168.png 768w\" alt=\"\"\/>\t\t\n<\/div>\n<div class=\"elementor-element elementor-element-f428e2d e-flex e-con-boxed e-con e-parent\" data-id=\"f428e2d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-282b4ca elementor-widget elementor-widget-text-editor\" data-id=\"282b4ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">Kod<\/span> <span data-d-streaming-word=\"\">algorytmu<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">Pythonie<\/span><\/h2><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">def<\/span> <span class=\"x14rh7hd\">cross<\/span><span class=\"x14rh7hd\">(A, B, C):<\/span>\n    <span class=\"x14rh7hd\">return<\/span><span class=\"x14rh7hd\"> ((B[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">]) <\/span><span class=\"x14rh7hd\">*<\/span><span class=\"x14rh7hd\"> (C[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">])<\/span>\n            <span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> (B[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">]) <\/span><span class=\"x14rh7hd\">*<\/span><span class=\"x14rh7hd\"> (C[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">]))<\/span>\n\n\n<span class=\"x14rh7hd\">def<\/span> <span class=\"x14rh7hd\">convex_hull<\/span><span class=\"x14rh7hd\">(points):<\/span>\n\n    <span class=\"x14rh7hd\"># 1. Sortowanie punkt\u00f3w i usuwanie duplikat\u00f3w<\/span>\n<span class=\"x14rh7hd\">    points <\/span><span class=\"x14rh7hd\">=<\/span> <span class=\"x14rh7hd\">sorted<\/span><span class=\"x14rh7hd\">(<\/span><span class=\"x14rh7hd\">set<\/span><span class=\"x14rh7hd\">(points))<\/span>\n\n    <span class=\"x14rh7hd\"># 2. Sprawdzenie liczby punkt\u00f3w<\/span>\n    <span class=\"x14rh7hd\">if<\/span> <span class=\"x14rh7hd\">len<\/span><span class=\"x14rh7hd\">(points) <\/span><span class=\"x14rh7hd\">&lt;=<\/span> <span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">:<\/span>\n        <span class=\"x14rh7hd\">return<\/span><span class=\"x14rh7hd\"> points<\/span>\n\n    <span class=\"x14rh7hd\"># 3. Budowanie dolnej cz\u0119\u015bci otoczki<\/span>\n<span class=\"x14rh7hd\">    lower <\/span><span class=\"x14rh7hd\">=<\/span><span class=\"x14rh7hd\"> []<\/span>\n\n    <span class=\"x14rh7hd\">for<\/span><span class=\"x14rh7hd\"> p <\/span><span class=\"x14rh7hd\">in<\/span><span class=\"x14rh7hd\"> points:<\/span>\n        <span class=\"x14rh7hd\">while<\/span> <span class=\"x14rh7hd\">len<\/span><span class=\"x14rh7hd\">(lower) <\/span><span class=\"x14rh7hd\">&gt;=<\/span> <span class=\"x14rh7hd\">2<\/span> <span class=\"x14rh7hd\">and<\/span><span class=\"x14rh7hd\"> cross(lower[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">], lower[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">], p) <\/span><span class=\"x14rh7hd\">&lt;=<\/span> <span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">:<\/span>\n<span class=\"x14rh7hd\">            lower.pop()<\/span>\n\n<span class=\"x14rh7hd\">        lower.append(p)<\/span>\n\n    <span class=\"x14rh7hd\"># 4. Budowanie g\u00f3rnej cz\u0119\u015bci otoczki<\/span>\n<span class=\"x14rh7hd\">    upper <\/span><span class=\"x14rh7hd\">=<\/span><span class=\"x14rh7hd\"> []<\/span>\n\n    <span class=\"x14rh7hd\">for<\/span><span class=\"x14rh7hd\"> p <\/span><span class=\"x14rh7hd\">in<\/span> <span class=\"x14rh7hd\">reversed<\/span><span class=\"x14rh7hd\">(points):<\/span>\n        <span class=\"x14rh7hd\">while<\/span> <span class=\"x14rh7hd\">len<\/span><span class=\"x14rh7hd\">(upper) <\/span><span class=\"x14rh7hd\">&gt;=<\/span> <span class=\"x14rh7hd\">2<\/span> <span class=\"x14rh7hd\">and<\/span><span class=\"x14rh7hd\"> cross(upper[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">], upper[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">], p) <\/span><span class=\"x14rh7hd\">&lt;=<\/span> <span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">:<\/span>\n<span class=\"x14rh7hd\">            upper.pop()<\/span>\n\n<span class=\"x14rh7hd\">        upper.append(p)<\/span>\n\n    <span class=\"x14rh7hd\"># 5. Po\u0142\u0105czenie obu cz\u0119\u015bci<\/span>\n    <span class=\"x14rh7hd\">return<\/span><span class=\"x14rh7hd\"> lower[:<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">+<\/span><span class=\"x14rh7hd\"> upper[:<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">]<\/span><\/code><\/pre><\/div><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">5.<\/span> <span data-d-streaming-word=\"\">Jak<\/span> <span data-d-streaming-word=\"\">dzia\u0142a<\/span> <span data-d-streaming-word=\"\">funkcja<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">cross()<\/span><\/code><span data-d-streaming-word=\"\">?<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Za\u0142\u00f3\u017cmy,<\/span> <span data-d-streaming-word=\"\">\u017ce<\/span> <span data-d-streaming-word=\"\">mamy<\/span> <span data-d-streaming-word=\"\">trzy<\/span> <span data-d-streaming-word=\"\">punkty:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">A=(0,0)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">A<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\">0<\/span><span class=\"mpunct\">,<\/span><span class=\"mord\">0<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">B=(1,1)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">B<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\">1<\/span><span class=\"mpunct\">,<\/span><span class=\"mord\">1<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">C=(2,0)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">C<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\">2<\/span><span class=\"mpunct\">,<\/span><span class=\"mord\">0<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Podstawiamy<\/span> <span data-d-streaming-word=\"\">ich<\/span> <span data-d-streaming-word=\"\">wsp\u00f3\u0142rz\u0119dne<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">funkcji:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">cross(A, B, C)<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wykonujemy<\/span> <span data-d-streaming-word=\"\">obliczenia:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">(1\u22120)(0\u22120)\u2212(1\u22120)(2\u22120)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\">1<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><span class=\"mclose\">)<\/span><span class=\"mopen\">(<\/span><span class=\"mord\">0<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><span class=\"mclose\">)<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mopen\">(<\/span><span class=\"mord\">1<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><span class=\"mclose\">)<\/span><span class=\"mopen\">(<\/span><span class=\"mord\">2<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">1\u22c50\u22121\u22c52<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord\">1<\/span><span class=\"mbin\">\u22c5<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">1<\/span><span class=\"mbin\">\u22c5<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">2<\/span><\/span><\/span><\/span><\/span><\/div><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">0\u22122=\u22122<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord\">0<\/span><span class=\"mbin\">\u2212<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">2<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">\u2212<\/span><span class=\"mord\">2<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Otrzymujemy<\/span> <span data-d-streaming-word=\"\">wynik:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">\u22122&lt;0<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord\">\u2212<\/span><span class=\"mord\">2<\/span><span class=\"mrel\">&lt;<\/span><\/span><span class=\"katex-base\"><span class=\"mord\">0<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Oznacza<\/span> <span data-d-streaming-word=\"\">to,<\/span> <span data-d-streaming-word=\"\">\u017ce<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">tworz\u0105<\/span> <span data-d-streaming-word=\"\">skr\u0119t<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">prawo.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">6.<\/span> <span data-d-streaming-word=\"\">Dlaczego<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">algorytmie<\/span> <span data-d-streaming-word=\"\">u\u017cywamy<\/span> <span data-d-streaming-word=\"\">p\u0119tli<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">while<\/span><\/code><span data-d-streaming-word=\"\">?<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Jeden<\/span> <span data-d-streaming-word=\"\">z<\/span> <span data-d-streaming-word=\"\">najwa\u017cniejszych<\/span> <span data-d-streaming-word=\"\">fragment\u00f3w<\/span> <span data-d-streaming-word=\"\">kodu<\/span> <span data-d-streaming-word=\"\">wygl\u0105da<\/span> <span data-d-streaming-word=\"\">nast\u0119puj\u0105co:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">while<\/span> <span class=\"x14rh7hd\">len<\/span><span class=\"x14rh7hd\">(lower) <\/span><span class=\"x14rh7hd\">&gt;=<\/span> <span class=\"x14rh7hd\">2<\/span> <span class=\"x14rh7hd\">and<\/span><span class=\"x14rh7hd\"> cross(lower[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">], lower[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">], p) <\/span><span class=\"x14rh7hd\">&lt;=<\/span> <span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">:<\/span>\n<span class=\"x14rh7hd\">    lower.pop()<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Jego<\/span> <span data-d-streaming-word=\"\">zadaniem<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">usuwanie<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w,<\/span> <span data-d-streaming-word=\"\">kt\u00f3re<\/span> <span data-d-streaming-word=\"\">nie<\/span> <span data-d-streaming-word=\"\">powinny<\/span> <span data-d-streaming-word=\"\">znajdowa\u0107<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">brzegu<\/span> <span data-d-streaming-word=\"\">otoczki<\/span> <span data-d-streaming-word=\"\">wypuk\u0142ej.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dzia\u0142anie<\/span> <span data-d-streaming-word=\"\">tego<\/span> <span data-d-streaming-word=\"\">fragmentu:<\/span><\/p><ul class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 xtaz4m5\" role=\"list\" data-d-component=\"list\" data-d-marker=\"bullet\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Sprawdza,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">lista<\/span> <span data-d-streaming-word=\"\">zawiera<\/span> <span data-d-streaming-word=\"\">przynajmniej<\/span> <span data-d-streaming-word=\"\">dwa<\/span> <span data-d-streaming-word=\"\">punkty.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Analizuje<\/span> <span data-d-streaming-word=\"\">kierunek<\/span> <span data-d-streaming-word=\"\">skr\u0119tu<\/span> <span data-d-streaming-word=\"\">trzech<\/span> <span data-d-streaming-word=\"\">ostatnich<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Je\u017celi<\/span> <span data-d-streaming-word=\"\">skr\u0119t<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">nieprawid\u0142owy,<\/span> <span data-d-streaming-word=\"\">usuwa<\/span> <span data-d-streaming-word=\"\">ostatni<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">za<\/span> <span data-d-streaming-word=\"\">pomoc\u0105<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">lower.pop()<\/span><\/code><span data-d-streaming-word=\"\">.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Ponownie<\/span> <span data-d-streaming-word=\"\">sprawdza<\/span> <span data-d-streaming-word=\"\">kolejne<\/span> <span data-d-streaming-word=\"\">punkty.<\/span><\/p><\/div><\/div><\/li><\/ul><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dlaczego<\/span> <span data-d-streaming-word=\"\">u\u017cywamy<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">while<\/span><\/code><span data-d-streaming-word=\"\">,<\/span> <span data-d-streaming-word=\"\">a<\/span> <span data-d-streaming-word=\"\">nie<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">if<\/span><\/code><span data-d-streaming-word=\"\">?<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Poniewa\u017c<\/span> <span data-d-streaming-word=\"\">czasami<\/span> <span data-d-streaming-word=\"\">trzeba<\/span> <span data-d-streaming-word=\"\">usun\u0105\u0107<\/span> <span data-d-streaming-word=\"\">wi\u0119cej<\/span> <span data-d-streaming-word=\"\">ni\u017c<\/span> <span data-d-streaming-word=\"\">jeden<\/span> <span data-d-streaming-word=\"\">punkt,<\/span> <span data-d-streaming-word=\"\">zanim<\/span> <span data-d-streaming-word=\"\">otrzymamy<\/span> <span data-d-streaming-word=\"\">prawid\u0142owy<\/span> <span data-d-streaming-word=\"\">kierunek<\/span> <span data-d-streaming-word=\"\">skr\u0119tu.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">7.<\/span> <span data-d-streaming-word=\"\">Budowanie<\/span> <span data-d-streaming-word=\"\">dolnej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">otoczki<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Na<\/span> <span data-d-streaming-word=\"\">pocz\u0105tku<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">s\u0105<\/span> <span data-d-streaming-word=\"\">sortowane:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">points <\/span><span class=\"x14rh7hd\">=<\/span> <span class=\"x14rh7hd\">sorted<\/span><span class=\"x14rh7hd\">(<\/span><span class=\"x14rh7hd\">set<\/span><span class=\"x14rh7hd\">(points))<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Nast\u0119pnie<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">przechodzi<\/span> <span data-d-streaming-word=\"\">przez<\/span> <span data-d-streaming-word=\"\">nie<\/span> <span data-d-streaming-word=\"\">od<\/span> <span data-d-streaming-word=\"\">lewej<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">prawej<\/span> <span data-d-streaming-word=\"\">strony:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">for<\/span><span class=\"x14rh7hd\"> p <\/span><span class=\"x14rh7hd\">in<\/span><span class=\"x14rh7hd\"> points:<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Ka\u017cdy<\/span> <span data-d-streaming-word=\"\">kolejny<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">dodawany<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">listy:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">lower.append(p)<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Przed<\/span> <span data-d-streaming-word=\"\">jego<\/span> <span data-d-streaming-word=\"\">dodaniem<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">sprawdza,<\/span> <span data-d-streaming-word=\"\">czy<\/span> <span data-d-streaming-word=\"\">ostatnie<\/span> <span data-d-streaming-word=\"\">trzy<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">tworz\u0105<\/span> <span data-d-streaming-word=\"\">odpowiedni<\/span> <span data-d-streaming-word=\"\">skr\u0119t:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">while<\/span> <span class=\"x14rh7hd\">len<\/span><span class=\"x14rh7hd\">(lower) <\/span><span class=\"x14rh7hd\">&gt;=<\/span> <span class=\"x14rh7hd\">2<\/span> <span class=\"x14rh7hd\">and<\/span><span class=\"x14rh7hd\"> cross(<\/span><span class=\"x14rh7hd\">...<\/span><span class=\"x14rh7hd\">) <\/span><span class=\"x14rh7hd\">&lt;=<\/span> <span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">:<\/span>\n<span class=\"x14rh7hd\">    lower.pop()<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Je\u015bli<\/span> <span data-d-streaming-word=\"\">skr\u0119t<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">nieprawid\u0142owy,<\/span> <span data-d-streaming-word=\"\">ostatni<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">zostaje<\/span> <span data-d-streaming-word=\"\">usuni\u0119ty.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">W<\/span> <span data-d-streaming-word=\"\">ten<\/span> <span data-d-streaming-word=\"\">spos\u00f3b<\/span> <span data-d-streaming-word=\"\">powstaje<\/span> <span data-d-streaming-word=\"\">dolna<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">otoczki<\/span> <span data-d-streaming-word=\"\">wypuk\u0142ej.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">8.<\/span> <span data-d-streaming-word=\"\">Budowanie<\/span> <span data-d-streaming-word=\"\">g\u00f3rnej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">otoczki<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Kolejnym<\/span> <span data-d-streaming-word=\"\">etapem<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">wyznaczenie<\/span> <span data-d-streaming-word=\"\">g\u00f3rnej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">wielok\u0105ta.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wykonujemy<\/span> <span data-d-streaming-word=\"\">podobne<\/span> <span data-d-streaming-word=\"\">operacje<\/span> <span data-d-streaming-word=\"\">jak<\/span> <span data-d-streaming-word=\"\">przy<\/span> <span data-d-streaming-word=\"\">budowaniu<\/span> <span data-d-streaming-word=\"\">dolnej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci,<\/span> <span data-d-streaming-word=\"\">ale<\/span> <span data-d-streaming-word=\"\">tym<\/span> <span data-d-streaming-word=\"\">razem<\/span> <span data-d-streaming-word=\"\">przechodzimy<\/span> <span data-d-streaming-word=\"\">przez<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">odwrotnej<\/span> <span data-d-streaming-word=\"\">kolejno\u015bci:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">upper <\/span><span class=\"x14rh7hd\">=<\/span><span class=\"x14rh7hd\"> []<\/span>\n\n<span class=\"x14rh7hd\">for<\/span><span class=\"x14rh7hd\"> p <\/span><span class=\"x14rh7hd\">in<\/span> <span class=\"x14rh7hd\">reversed<\/span><span class=\"x14rh7hd\">(points):<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dzi\u0119ki<\/span> <span data-d-streaming-word=\"\">temu<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">porusza<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">od<\/span> <span data-d-streaming-word=\"\">prawej<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">lewej<\/span> <span data-d-streaming-word=\"\">strony<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">wyznacza<\/span> <span data-d-streaming-word=\"\">g\u00f3rn\u0105<\/span> <span data-d-streaming-word=\"\">granic\u0119<\/span> <span data-d-streaming-word=\"\">otoczki.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">9.<\/span> <span data-d-streaming-word=\"\">\u0141\u0105czenie<\/span> <span data-d-streaming-word=\"\">obu<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">otoczki<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Po<\/span> <span data-d-streaming-word=\"\">wyznaczeniu<\/span> <span data-d-streaming-word=\"\">dolnej<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">g\u00f3rnej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">nale\u017cy<\/span> <span data-d-streaming-word=\"\">po\u0142\u0105czy\u0107<\/span> <span data-d-streaming-word=\"\">je<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">jeden<\/span> <span data-d-streaming-word=\"\">wielok\u0105t.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">S\u0142u\u017cy<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">tego<\/span> <span data-d-streaming-word=\"\">instrukcja:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">return<\/span><span class=\"x14rh7hd\"> lower[:<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">+<\/span><span class=\"x14rh7hd\"> upper[:<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">]<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">\u0141\u0105czymy<\/span> <span data-d-streaming-word=\"\">doln\u0105<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">z<\/span> <span data-d-streaming-word=\"\">g\u00f3rn\u0105.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dlaczego<\/span> <span data-d-streaming-word=\"\">u\u017cywamy<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">[:-1]<\/span><\/code><span data-d-streaming-word=\"\">?<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Poniewa\u017c<\/span> <span data-d-streaming-word=\"\">ostatni<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">ka\u017cdej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">jednocze\u015bnie<\/span> <span data-d-streaming-word=\"\">pocz\u0105tkiem<\/span> <span data-d-streaming-word=\"\">drugiej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci.<\/span> <span data-d-streaming-word=\"\">Usuni\u0119cie<\/span> <span data-d-streaming-word=\"\">tych<\/span> <span data-d-streaming-word=\"\">element\u00f3w<\/span> <span data-d-streaming-word=\"\">zapobiega<\/span> <span data-d-streaming-word=\"\">powtarzaniu<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">wyniku<\/span> <span data-d-streaming-word=\"\">ko\u0144cowym.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">10.<\/span> <span data-d-streaming-word=\"\">Przyk\u0142ad<\/span> <span data-d-streaming-word=\"\">dzia\u0142ania<\/span> <span data-d-streaming-word=\"\">algorytmu<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Za\u0142\u00f3\u017cmy,<\/span> <span data-d-streaming-word=\"\">\u017ce<\/span> <span data-d-streaming-word=\"\">mamy<\/span> <span data-d-streaming-word=\"\">nast\u0119puj\u0105cy<\/span> <span data-d-streaming-word=\"\">zbi\u00f3r<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">points <\/span><span class=\"x14rh7hd\">=<\/span><span class=\"x14rh7hd\"> [<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">)<\/span>\n<span class=\"x14rh7hd\">]<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Uruchamiamy<\/span> <span data-d-streaming-word=\"\">algorytm:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">hull <\/span><span class=\"x14rh7hd\">=<\/span><span class=\"x14rh7hd\"> convex_hull(points)<\/span>\n\n<span class=\"x14rh7hd\">print<\/span><span class=\"x14rh7hd\">(hull)<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Otrzymamy<\/span> <span data-d-streaming-word=\"\">nast\u0119puj\u0105ce<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">tworz\u0105ce<\/span> <span data-d-streaming-word=\"\">otoczk\u0119:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">(<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">)<\/span>\n<span class=\"x14rh7hd\">(<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">)<\/span>\n<span class=\"x14rh7hd\">(<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">)<\/span>\n<span class=\"x14rh7hd\">(<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">)<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Pozosta\u0142e<\/span> <span data-d-streaming-word=\"\">punkty:<\/span><\/p><ul class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 xtaz4m5\" role=\"list\" data-d-component=\"list\" data-d-marker=\"bullet\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">(1,<\/span> <span data-d-streaming-word=\"\">0)<\/span><\/code><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">(1,<\/span> <span data-d-streaming-word=\"\">1)<\/span><\/code><\/p><\/div><\/div><\/li><\/ul><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">nie<\/span> <span data-d-streaming-word=\"\">nale\u017c\u0105<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">zewn\u0119trznego<\/span> <span data-d-streaming-word=\"\">brzegu<\/span> <span data-d-streaming-word=\"\">otoczki,<\/span> <span data-d-streaming-word=\"\">dlatego<\/span> <span data-d-streaming-word=\"\">nie<\/span> <span data-d-streaming-word=\"\">zostaj\u0105<\/span> <span data-d-streaming-word=\"\">uwzgl\u0119dnione<\/span> <span data-d-streaming-word=\"\">jako<\/span> <span data-d-streaming-word=\"\">jej<\/span> <span data-d-streaming-word=\"\">wierzcho\u0142ki.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">11.<\/span> <span data-d-streaming-word=\"\">Z\u0142o\u017cono\u015b\u0107<\/span> <span data-d-streaming-word=\"\">obliczeniowa<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Algorytm<\/span> <span data-d-streaming-word=\"\">wykonuje<\/span> <span data-d-streaming-word=\"\">kilka<\/span> <span data-d-streaming-word=\"\">operacji,<\/span> <span data-d-streaming-word=\"\">kt\u00f3re<\/span> <span data-d-streaming-word=\"\">wp\u0142ywaj\u0105<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">jego<\/span> <span data-d-streaming-word=\"\">wydajno\u015b\u0107.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Sortowanie<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">sorted<\/span><span class=\"x14rh7hd\">(points)<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Z\u0142o\u017cono\u015b\u0107:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">O(nlog\u2061n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mop\">log<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Budowanie<\/span> <span data-d-streaming-word=\"\">dolnej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">otoczki:<\/span><\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">O(n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Budowanie<\/span> <span data-d-streaming-word=\"\">g\u00f3rnej<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015bci<\/span> <span data-d-streaming-word=\"\">otoczki:<\/span><\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">O(n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">\u0141\u0105czna<\/span> <span data-d-streaming-word=\"\">z\u0142o\u017cono\u015b\u0107:<\/span><\/p><div class=\"x11v4sto x1qlqyl8 xggjnk3 x1lliihq x193iq5w xw2csxc x1wwbdsi x86bw1a x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\" data-d-block=\"\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">O(nlog\u2061n)+O(n)+O(n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mop\">log<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><span class=\"mbin\">+<\/span><\/span><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><span class=\"mbin\">+<\/span><\/span><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Ostatecznie<\/span> <span data-d-streaming-word=\"\">otrzymujemy:<\/span><\/p><ul class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 xtaz4m5\" role=\"list\" data-d-component=\"list\" data-d-marker=\"bullet\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Z\u0142o\u017cono\u015b\u0107<\/span> <span data-d-streaming-word=\"\">czasowa:<\/span><\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">O(nlog\u2061n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mop\">log<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x1sjuu80 xgqnvjb x1n7kpnw xdj266r x15eiy0f x15472z4 xtcx8v3 x1xf89zq x1znate\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Z\u0142o\u017cono\u015b\u0107<\/span> <span data-d-streaming-word=\"\">pami\u0119ciowa:<\/span><\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">O(n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">.<\/span><\/p><\/div><\/div><\/li><\/ul><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">12.<\/span> <span data-d-streaming-word=\"\">Przypadki<\/span> <span data-d-streaming-word=\"\">szczeg\u00f3lne<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Algorytm<\/span> <span data-d-streaming-word=\"\">musi<\/span> <span data-d-streaming-word=\"\">r\u00f3wnie\u017c<\/span> <span data-d-streaming-word=\"\">poprawnie<\/span> <span data-d-streaming-word=\"\">obs\u0142ugiwa\u0107<\/span> <span data-d-streaming-word=\"\">nietypowe<\/span> <span data-d-streaming-word=\"\">sytuacje.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Brak<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">[]<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Jeden<\/span> <span data-d-streaming-word=\"\">punkt:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">[(<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">3<\/span><span class=\"x14rh7hd\">)]<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Dwa<\/span> <span data-d-streaming-word=\"\">punkty:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">[(<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">), (<\/span><span class=\"x14rh7hd\">5<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">5<\/span><span class=\"x14rh7hd\">)]<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Punkty<\/span> <span data-d-streaming-word=\"\">le\u017c\u0105ce<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">jednej<\/span> <span data-d-streaming-word=\"\">prostej:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">text<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"text\">(0,0) ---- (1,1) ---- (2,2)<\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">W<\/span> <span data-d-streaming-word=\"\">przypadku<\/span> <span data-d-streaming-word=\"\">zastosowania<\/span> <span data-d-streaming-word=\"\">warunku:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">cross(<\/span><span class=\"x14rh7hd\">...<\/span><span class=\"x14rh7hd\">) <\/span><span class=\"x14rh7hd\">&lt;=<\/span> <span class=\"x14rh7hd\">0<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">znajduj\u0105ce<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">pomi\u0119dzy<\/span> <span data-d-streaming-word=\"\">skrajnymi<\/span> <span data-d-streaming-word=\"\">zostan\u0105<\/span> <span data-d-streaming-word=\"\">usuni\u0119te.<\/span> <span data-d-streaming-word=\"\">W<\/span> <span data-d-streaming-word=\"\">otoczce<\/span> <span data-d-streaming-word=\"\">pozostan\u0105<\/span> <span data-d-streaming-word=\"\">tylko<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">wyznaczaj\u0105ce<\/span> <span data-d-streaming-word=\"\">jej<\/span> <span data-d-streaming-word=\"\">ko\u0144ce.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">13.<\/span> <span data-d-streaming-word=\"\">Do<\/span> <span data-d-streaming-word=\"\">czego<\/span> <span data-d-streaming-word=\"\">s\u0142u\u017cy<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">set(points)<\/span><\/code><span data-d-streaming-word=\"\">?<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">W<\/span> <span data-d-streaming-word=\"\">kodzie<\/span> <span data-d-streaming-word=\"\">znajduje<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">instrukcja:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">points <\/span><span class=\"x14rh7hd\">=<\/span> <span class=\"x14rh7hd\">sorted<\/span><span class=\"x14rh7hd\">(<\/span><span class=\"x14rh7hd\">set<\/span><span class=\"x14rh7hd\">(points))<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Funkcja<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">set()<\/span><\/code> <span data-d-streaming-word=\"\">usuwa<\/span> <span data-d-streaming-word=\"\">powtarzaj\u0105ce<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">ze<\/span> <span data-d-streaming-word=\"\">zbioru.<\/span><\/p><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Przyk\u0142adowo<\/span> <span data-d-streaming-word=\"\">lista:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">[<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">)<\/span>\n<span class=\"x14rh7hd\">]<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Po<\/span> <span data-d-streaming-word=\"\">zastosowaniu<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">set()<\/span><\/code> <span data-d-streaming-word=\"\">otrzymujemy<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">bez<\/span> <span data-d-streaming-word=\"\">duplikat\u00f3w:<\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">[<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">),<\/span>\n<span class=\"x14rh7hd\">    (<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">, <\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">)<\/span>\n<span class=\"x14rh7hd\">]<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Nast\u0119pnie<\/span> <span data-d-streaming-word=\"\">funkcja<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">sorted()<\/span><\/code> <span data-d-streaming-word=\"\">ustawia<\/span> <span data-d-streaming-word=\"\">punkty<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">odpowiedniej<\/span> <span data-d-streaming-word=\"\">kolejno\u015bci.<\/span><\/p><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">Najwa\u017cniejsze<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">zapami\u0119tania<\/span><\/h2><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1kw3rcc x104jwf5 x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Je\u017celi<\/span> <span data-d-streaming-word=\"\">masz<\/span> <span data-d-streaming-word=\"\">zapami\u0119ta\u0107<\/span> <span data-d-streaming-word=\"\">tylko<\/span> <span data-d-streaming-word=\"\">najwa\u017cniejsze<\/span> <span data-d-streaming-word=\"\">informacje<\/span> <span data-d-streaming-word=\"\">o<\/span> <span data-d-streaming-word=\"\">algorytmie<\/span> <span data-d-streaming-word=\"\">Andrew&#8217;a,<\/span> <span data-d-streaming-word=\"\">zwr\u00f3\u0107<\/span> <span data-d-streaming-word=\"\">uwag\u0119<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">nast\u0119puj\u0105ce<\/span> <span data-d-streaming-word=\"\">rzeczy:<\/span><\/p><ol class=\"x78zum5 xdt5ytf xeuugli x1717udv x1ghz6dp x11v4sto x10of0ok xe8uvvx xy09zc5 x1ovvlb x1kw3rcc x104jwf5 x1lziwak x15472z4 x43c9pm xld8u84 x3yw8vx\" role=\"list\" data-d-component=\"list\" data-d-marker=\"number\" data-d-marker-layout=\"native\"><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najpierw<\/span> <span data-d-streaming-word=\"\">sortujemy<\/span> <span data-d-streaming-word=\"\">wszystkie<\/span> <span data-d-streaming-word=\"\">punkty.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Nast\u0119pnie<\/span> <span data-d-streaming-word=\"\">budujemy<\/span> <span data-d-streaming-word=\"\">doln\u0105<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">otoczki.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">P\u00f3\u017aniej<\/span> <span data-d-streaming-word=\"\">wyznaczamy<\/span> <span data-d-streaming-word=\"\">g\u00f3rn\u0105<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">otoczki.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Funkcja<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">cross()<\/span><\/code> <span data-d-streaming-word=\"\">sprawdza<\/span> <span data-d-streaming-word=\"\">kierunek<\/span> <span data-d-streaming-word=\"\">skr\u0119tu<\/span> <span data-d-streaming-word=\"\">trzech<\/span> <span data-d-streaming-word=\"\">punkt\u00f3w.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Przy<\/span> <span data-d-streaming-word=\"\">nieprawid\u0142owym<\/span> <span data-d-streaming-word=\"\">skr\u0119cie<\/span> <span data-d-streaming-word=\"\">usuwamy<\/span> <span data-d-streaming-word=\"\">ostatni<\/span> <span data-d-streaming-word=\"\">punkt<\/span> <span data-d-streaming-word=\"\">za<\/span> <span data-d-streaming-word=\"\">pomoc\u0105<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">pop()<\/span><\/code><span data-d-streaming-word=\"\">.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Na<\/span> <span data-d-streaming-word=\"\">ko\u0144cu<\/span> <span data-d-streaming-word=\"\">\u0142\u0105czymy<\/span> <span data-d-streaming-word=\"\">listy<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">lower<\/span><\/code> <span data-d-streaming-word=\"\">i<\/span> <code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">upper<\/span><\/code><span data-d-streaming-word=\"\">.<\/span><\/p><\/div><\/div><\/li><li class=\"x1cy8zhl xeuugli x167g77z x1et0kgd x3olw3b x77z7ai x1sjuu80 xgqnvjb xdj266r x15eiy0f x1lziwak x15472z4 xtcx8v3 xzngokm x2qjak5\" data-d-component=\"list-item\" data-d-marker-layout=\"native\"><div class=\"x78zum5 xdt5ytf x12lumcd xeuugli\"><div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd xg07evd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Z\u0142o\u017cono\u015b\u0107<\/span> <span data-d-streaming-word=\"\">czasowa<\/span> <span data-d-streaming-word=\"\">algorytmu<\/span> <span data-d-streaming-word=\"\">wynosi<\/span> <span class=\"x11v4sto x1qlqyl8 xggjnk3 xt0psk2 xdj266r x15eiy0f x1lziwak x15472z4\" dir=\"ltr\" data-d-component=\"math\"><span class=\"katex\"><span class=\"katex-mathml\">O(nlog\u2061n)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"katex-base\"><span class=\"mord mathnormal\">O<\/span><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mop\">log<\/span><span class=\"mord mathnormal\">n<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><span data-d-streaming-word=\"\">.<\/span><\/p><\/div><\/div><\/li><\/ol><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Najwa\u017cniejsza<\/span> <span data-d-streaming-word=\"\">funkcja<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">algorytmie:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">def<\/span> <span class=\"x14rh7hd\">cross<\/span><span class=\"x14rh7hd\">(A, B, C):<\/span>\n    <span class=\"x14rh7hd\">return<\/span><span class=\"x14rh7hd\"> ((B[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">]) <\/span><span class=\"x14rh7hd\">*<\/span><span class=\"x14rh7hd\"> (C[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">])<\/span>\n            <span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> (B[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">]) <\/span><span class=\"x14rh7hd\">*<\/span><span class=\"x14rh7hd\"> (C[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">] <\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\"> A[<\/span><span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">]))<\/span><\/code><\/pre><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Najwa\u017cniejszy<\/span> <span data-d-streaming-word=\"\">fragment<\/span> <span data-d-streaming-word=\"\">kodu:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x193iq5w xmkeg23 x1y0btm7 xdwl8eq x1w1tqly x1j6x5gx xo57heo x1usmwf1 xq6kz29\"><button class=\"x1y0btm7 x9f619 xln7xf2 x17j2mab xc0rdgb xl56j7k x1q51uy1 xioxnex x2b8uid x1b2iylo xwgcxoh x1hl2dhg xtcsvct x11doy3g xnfeirg xm5th6g x1pf1ekx x1v85zax xl65fg8 x1ysdz2l x1fo1fc9 xdsxg0b xulogpc x1cpjm7i x1btuk9t xk6xnpo x1txhlq7 xtg4hg7 x1o0wn7w xkk1bqk x1hmns74 xy5mcqj xjbqb8w x15xj62w x9r1u3d xgwjoxm xu82sp8 x1gnnqk1 x13yhu5o x1ypdohk xrvj5dj xy5k6zg x22bi1w x1p6o7d4 xc8icb0 x1gg8mnh x1nb6za0 xk2swo9 x1717udv x1ku5rj1 x10l6tqk x1vjfegm\" type=\"button\" data-icon-only=\"\" data-icon-position=\"start\" data-icon-shape=\"non-circular\" data-radius=\"full\" data-size=\"small\" data-variant=\"ghost\" data-w-component=\"button\" aria-label=\"Skopiuj kod\" data-code-copy-state=\"idle\" data-oai-tooltip=\"\" data-oai-tooltip-side=\"bottom\" data-oai-tooltip-side-offset=\"8\"><\/button><div class=\"x78zum5 x6s0dn4 xe8gcm x8945me x521ovy\"><span class=\"x1lliihq x13yhu5o xboafo0\">python<\/span><\/div><pre class=\"x193iq5w xw2csxc x126k92a xj0a0fe x1ghz6dp xnxx81d x2yie3v\"><code data-code-language=\"python\"><span class=\"x14rh7hd\">while<\/span> <span class=\"x14rh7hd\">len<\/span><span class=\"x14rh7hd\">(lower) <\/span><span class=\"x14rh7hd\">&gt;=<\/span> <span class=\"x14rh7hd\">2<\/span> <span class=\"x14rh7hd\">and<\/span><span class=\"x14rh7hd\"> cross(lower[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">2<\/span><span class=\"x14rh7hd\">], lower[<\/span><span class=\"x14rh7hd\">-<\/span><span class=\"x14rh7hd\">1<\/span><span class=\"x14rh7hd\">], p) <\/span><span class=\"x14rh7hd\">&lt;=<\/span> <span class=\"x14rh7hd\">0<\/span><span class=\"x14rh7hd\">:<\/span>\n<span class=\"x14rh7hd\">    lower.pop()<\/span><\/code><\/pre><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2aa8607 e-flex e-con-boxed e-con e-parent\" data-id=\"2aa8607\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c165e50 elementor-widget elementor-widget-image\" data-id=\"c165e50\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"800\" height=\"329\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-2-e1794923985339-1024x421.png\" class=\"attachment-large size-large wp-image-1204\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-2-e1794923985339-1024x421.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-2-e1794923985339-300x123.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-2-e1794923985339-768x316.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-2-e1794923985339.png 1484w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8ef81c7 e-flex e-con-boxed e-con e-parent\" data-id=\"8ef81c7\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-80e83a3 elementor-widget elementor-widget-image\" data-id=\"80e83a3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"416\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-3-1024x533.png\" class=\"attachment-large size-large wp-image-1206\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-3-1024x533.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-3-300x156.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-3-768x400.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-3-1536x799.png 1536w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/otoczka-wypukla-3.png 1874w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-5a646ce e-con e-atomic-element e-flexbox-base e-default-div \" data-id=\"5a646ce\" data-element_type=\"e-flexbox\" data-e-type=\"e-flexbox\" data-interaction-id=\"5a646ce\">\n    \n<\/div>\n<div class=\"elementor-element elementor-element-d79ac90 e-flex e-con-boxed e-con e-parent\" data-id=\"d79ac90\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d83b6be elementor-widget elementor-widget-image\" data-id=\"d83b6be\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"551\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-03-153819-e1794924137196-1024x705.png\" class=\"attachment-large size-large wp-image-944\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-03-153819-e1794924137196-1024x705.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-03-153819-e1794924137196-300x207.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-03-153819-e1794924137196-768x529.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/Zrzut-ekranu-2026-11-03-153819-e1794924137196.png 1208w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-66461ae e-flex e-con-boxed e-con e-parent\" data-id=\"66461ae\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3fdaf8d elementor-widget elementor-widget-text-editor\" data-id=\"3fdaf8d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">1.<\/span> <span data-d-streaming-word=\"\">Tablice<\/span> <span data-d-streaming-word=\"\">(Arrays)<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">listy<\/span> <span data-d-streaming-word=\"\">wi\u0105zane<\/span> <span data-d-streaming-word=\"\">(Linked<\/span> <span data-d-streaming-word=\"\">Lists)<\/span><\/h1><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Cecha<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Tablica<\/span> <span data-d-streaming-word=\"\">(Array)<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Lista<\/span> <span data-d-streaming-word=\"\">wi\u0105zana<\/span> <span data-d-streaming-word=\"\">(Linked<\/span> <span data-d-streaming-word=\"\">List)<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Budowa<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Elementy<\/span> <span data-d-streaming-word=\"\">przechowywane<\/span> <span data-d-streaming-word=\"\">pod<\/span> <span data-d-streaming-word=\"\">kolejnymi<\/span> <span data-d-streaming-word=\"\">indeksami<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Elementy<\/span> <span data-d-streaming-word=\"\">po\u0142\u0105czone<\/span> <span data-d-streaming-word=\"\">za<\/span> <span data-d-streaming-word=\"\">pomoc\u0105<\/span> <span data-d-streaming-word=\"\">wska\u017anik\u00f3w<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dost\u0119p<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">elementu<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Bezpo\u015brednio<\/span> <span data-d-streaming-word=\"\">przez<\/span> <span data-d-streaming-word=\"\">indeks<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Trzeba<\/span> <span data-d-streaming-word=\"\">przechodzi\u0107<\/span> <span data-d-streaming-word=\"\">od<\/span> <span data-d-streaming-word=\"\">pocz\u0105tku<\/span> <span data-d-streaming-word=\"\">listy<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dost\u0119p<\/span> <span data-d-streaming-word=\"\">po<\/span> <span data-d-streaming-word=\"\">indeksie<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(1)<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(n)<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wyszukiwanie<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(n)<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(n)<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dodawanie<\/span> <span data-d-streaming-word=\"\">element\u00f3w<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Mo\u017ce<\/span> <span data-d-streaming-word=\"\">wymaga\u0107<\/span> <span data-d-streaming-word=\"\">przesuwania<\/span> <span data-d-streaming-word=\"\">danych<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Nie<\/span> <span data-d-streaming-word=\"\">wymaga<\/span> <span data-d-streaming-word=\"\">przesuwania<\/span> <span data-d-streaming-word=\"\">wszystkich<\/span> <span data-d-streaming-word=\"\">element\u00f3w<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Usuwanie<\/span> <span data-d-streaming-word=\"\">element\u00f3w<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Mo\u017ce<\/span> <span data-d-streaming-word=\"\">wymaga\u0107<\/span> <span data-d-streaming-word=\"\">przesuwania<\/span> <span data-d-streaming-word=\"\">danych<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Zmiana<\/span> <span data-d-streaming-word=\"\">odpowiednich<\/span> <span data-d-streaming-word=\"\">wska\u017anik\u00f3w<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Pami\u0119\u0107<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Zwykle<\/span> <span data-d-streaming-word=\"\">mniejszy<\/span> <span data-d-streaming-word=\"\">narzut<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dodatkowa<\/span> <span data-d-streaming-word=\"\">pami\u0119\u0107<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">wska\u017aniki<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najwi\u0119ksza<\/span> <span data-d-streaming-word=\"\">zaleta<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Szybki<\/span> <span data-d-streaming-word=\"\">dost\u0119p<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">element\u00f3w<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">\u0141atwe<\/span> <span data-d-streaming-word=\"\">dodawanie<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">usuwanie<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">odpowiednim<\/span> <span data-d-streaming-word=\"\">miejscu<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Do<\/span> <span data-d-streaming-word=\"\">zapami\u0119tania:<\/span><\/span> <span data-d-streaming-word=\"\">tablica<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">dobra<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">szybkiego<\/span> <span data-d-streaming-word=\"\">odczytywania<\/span> <span data-d-streaming-word=\"\">danych,<\/span> <span data-d-streaming-word=\"\">a<\/span> <span data-d-streaming-word=\"\">lista<\/span> <span data-d-streaming-word=\"\">wi\u0105zana<\/span> <span data-d-streaming-word=\"\">sprawdza<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">przy<\/span> <span data-d-streaming-word=\"\">cz\u0119stym<\/span> <span data-d-streaming-word=\"\">dodawaniu<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">usuwaniu<\/span> <span data-d-streaming-word=\"\">element\u00f3w.<\/span><\/p><h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">2.<\/span> <span data-d-streaming-word=\"\">Rodzaje<\/span> <span data-d-streaming-word=\"\">sortowania<\/span> <span data-d-streaming-word=\"\">(Sorting)<\/span><\/h1><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Algorytm<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Jak<\/span> <span data-d-streaming-word=\"\">dzia\u0142a?<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najwa\u017cniejsza<\/span> <span data-d-streaming-word=\"\">cecha<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Bubble<\/span> <span data-d-streaming-word=\"\">Sort<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Por\u00f3wnuje<\/span> <span data-d-streaming-word=\"\">s\u0105siednie<\/span> <span data-d-streaming-word=\"\">elementy<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">zamienia<\/span> <span data-d-streaming-word=\"\">je<\/span> <span data-d-streaming-word=\"\">miejscami<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najprostszy<\/span> <span data-d-streaming-word=\"\">spos\u00f3b<\/span> <span data-d-streaming-word=\"\">sortowania<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Selection<\/span> <span data-d-streaming-word=\"\">Sort<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wyszukuje<\/span> <span data-d-streaming-word=\"\">najmniejszy<\/span> <span data-d-streaming-word=\"\">element<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">przenosi<\/span> <span data-d-streaming-word=\"\">go<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">pocz\u0105tek<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wybiera<\/span> <span data-d-streaming-word=\"\">kolejno<\/span> <span data-d-streaming-word=\"\">najmniejsze<\/span> <span data-d-streaming-word=\"\">elementy<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Insertion<\/span> <span data-d-streaming-word=\"\">Sort<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wstawia<\/span> <span data-d-streaming-word=\"\">kolejne<\/span> <span data-d-streaming-word=\"\">elementy<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">odpowiednie<\/span> <span data-d-streaming-word=\"\">miejsce<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Buduje<\/span> <span data-d-streaming-word=\"\">posortowan\u0105<\/span> <span data-d-streaming-word=\"\">cz\u0119\u015b\u0107<\/span> <span data-d-streaming-word=\"\">listy<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Przyk\u0142ad<\/span> <span data-d-streaming-word=\"\">sortowania:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Przed<\/span> <span data-d-streaming-word=\"\">sortowaniem<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Po<\/span> <span data-d-streaming-word=\"\">sortowaniu<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">5,<\/span> <span data-d-streaming-word=\"\">2,<\/span> <span data-d-streaming-word=\"\">8,<\/span> <span data-d-streaming-word=\"\">1<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">1,<\/span> <span data-d-streaming-word=\"\">2,<\/span> <span data-d-streaming-word=\"\">5,<\/span> <span data-d-streaming-word=\"\">8<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">3.<\/span> <span data-d-streaming-word=\"\">Operacje<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">bitach<\/span> <span data-d-streaming-word=\"\">(Bitmask)<\/span><\/h1><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Operacja<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Znak<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dzia\u0142anie<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">AND<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">&amp;<\/span><\/code><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wynik<\/span> <span data-d-streaming-word=\"\">1,<\/span> <span data-d-streaming-word=\"\">gdy<\/span> <span data-d-streaming-word=\"\">oba<\/span> <span data-d-streaming-word=\"\">bity<\/span> <span data-d-streaming-word=\"\">s\u0105<\/span> <span data-d-streaming-word=\"\">r\u00f3wne<\/span> <span data-d-streaming-word=\"\">1<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">OR<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">\\|<\/span><\/code><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wynik<\/span> <span data-d-streaming-word=\"\">1,<\/span> <span data-d-streaming-word=\"\">gdy<\/span> <span data-d-streaming-word=\"\">przynajmniej<\/span> <span data-d-streaming-word=\"\">jeden<\/span> <span data-d-streaming-word=\"\">bit<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">r\u00f3wny<\/span> <span data-d-streaming-word=\"\">1<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">XOR<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">^<\/span><\/code><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wynik<\/span> <span data-d-streaming-word=\"\">1,<\/span> <span data-d-streaming-word=\"\">gdy<\/span> <span data-d-streaming-word=\"\">bity<\/span> <span data-d-streaming-word=\"\">maj\u0105<\/span> <span data-d-streaming-word=\"\">r\u00f3\u017cne<\/span> <span data-d-streaming-word=\"\">warto\u015bci<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">NOT<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><code class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x15bjb6t xt0psk2 x1bng3s8 x11xefk2 x109r6dy xptor0k x1gojbwh xk50ysn x17etxam x1cwmb0u xlzvbmf\" data-d-component=\"code\"><span data-d-streaming-word=\"\">~<\/span><\/code><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Odwraca<\/span> <span data-d-streaming-word=\"\">warto\u015bci<\/span> <span data-d-streaming-word=\"\">bit\u00f3w<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Przyk\u0142ad<\/span> <span data-d-streaming-word=\"\">por\u00f3wnania<\/span> <span data-d-streaming-word=\"\">operacji:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Operacja<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Przyk\u0142ad<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wynik<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">AND<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">1010<\/span> <span data-d-streaming-word=\"\">&amp;<\/span> <span data-d-streaming-word=\"\">1100<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">1000<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">OR<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">1010<\/span> <span data-d-streaming-word=\"\">|<\/span> <span data-d-streaming-word=\"\">1100<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">1110<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">XOR<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">1010<\/span> <span data-d-streaming-word=\"\">^<\/span> <span data-d-streaming-word=\"\">1100<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">0110<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Do<\/span> <span data-d-streaming-word=\"\">zapami\u0119tania:<\/span><\/span> <span data-d-streaming-word=\"\">maska<\/span> <span data-d-streaming-word=\"\">bitowa<\/span> <span data-d-streaming-word=\"\">pozwala<\/span> <span data-d-streaming-word=\"\">przechowywa\u0107<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">sprawdza\u0107<\/span> <span data-d-streaming-word=\"\">informacje<\/span> <span data-d-streaming-word=\"\">za<\/span> <span data-d-streaming-word=\"\">pomoc\u0105<\/span> <span data-d-streaming-word=\"\">warto\u015bci<\/span> <span data-d-streaming-word=\"\">0<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">1.<\/span><\/p><h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">4.<\/span> <span data-d-streaming-word=\"\">Rodzaje<\/span> <span data-d-streaming-word=\"\">list<\/span> <span data-d-streaming-word=\"\">wi\u0105zanych<\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">podstawowe<\/span> <span data-d-streaming-word=\"\">informacje<\/span><\/h1><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Poj\u0119cie<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Znaczenie<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Node<\/span> <span data-d-streaming-word=\"\">(w\u0119ze\u0142)<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Pojedynczy<\/span> <span data-d-streaming-word=\"\">element<\/span> <span data-d-streaming-word=\"\">listy<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Data<\/span> <span data-d-streaming-word=\"\">(dane)<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Warto\u015b\u0107<\/span> <span data-d-streaming-word=\"\">przechowywana<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">w\u0119\u017ale<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Pointer<\/span> <span data-d-streaming-word=\"\">(wska\u017anik)<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Odwo\u0142anie<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">nast\u0119pnego<\/span> <span data-d-streaming-word=\"\">w\u0119z\u0142a<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Head<\/span> <span data-d-streaming-word=\"\">(g\u0142owa)<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Pierwszy<\/span> <span data-d-streaming-word=\"\">element<\/span> <span data-d-streaming-word=\"\">listy<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">NULL<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Oznacza<\/span> <span data-d-streaming-word=\"\">brak<\/span> <span data-d-streaming-word=\"\">kolejnego<\/span> <span data-d-streaming-word=\"\">elementu<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Przyk\u0142adowa<\/span> <span data-d-streaming-word=\"\">budowa:<\/span><\/span><\/p><div class=\"x78zum5 xdt5ytf xeuugli x9f619 x1s0upfa x15pztkk x12057cm xdz27ya xnvo3vl x120eax6 xblpaj1 xldp4zc x1w1s0q4 xvtw6hk x1dca0ah x1i71eqg x1drtyhb x1vqez3m x6pmj1i xbsomw4 x1oq9ryg x1wsjk4f x1pidvrl x1wwbdsi x86bw1a x1lziwak x15472z4\" data-d-component=\"box\" data-d-direction=\"col\"><div class=\"x78zum5 xeuugli x9f619 x1s0upfa x15pztkk x1q0g3np x1pidvrl x6s0dn4 xl56j7k xdj266r x15eiy0f x1lziwak x15472z4\" data-d-component=\"row\" data-d-direction=\"row\"><div class=\"x78zum5 xdt5ytf xeuugli x9f619 x1s0upfa x15pztkk xgm1qm x1t0jg3p x1pidvrl x6s0dn4 xp7h7ln xdj266r x15eiy0f x1lziwak x15472z4\" data-d-component=\"box\" data-d-direction=\"col\"><div class=\"x78zum5 xdt5ytf xeuugli x9f619 x5lhr3w x12057cm xdz27ya xnvo3vl x120eax6 xblpaj1 xldp4zc x1w1s0q4 xvtw6hk x1dca0ah x1i71eqg x1drtyhb x1vqez3m x6pmj1i xbsomw4 x1oq9ryg x1wsjk4f x1xcskap xf48o5e xl8spv7 x6s0dn4 xdj266r x15eiy0f x1lziwak x15472z4\" data-d-component=\"box\" data-d-direction=\"col\" data-d-auto-spacing=\"\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">10<\/span><\/span><\/p><span class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xuqh7lw x1cv4vem x1lziwak x15472z4 xkpwil5 xwn7fz2 x1lliihq xo1l8bm x14rh7hd\" data-d-component=\"caption\"><span data-d-streaming-word=\"\">W\u0119ze\u0142<\/span><\/span><\/div><\/div><div class=\"x78zum5 xdt5ytf xeuugli x9f619 x1s0upfa x15pztkk xgm1qm x1t0jg3p x1pidvrl x6s0dn4 xp7h7ln xdj266r x15eiy0f x1lziwak x15472z4\" data-d-component=\"box\" data-d-direction=\"col\"><div class=\"x78zum5 xdt5ytf xeuugli x9f619 x5lhr3w x12057cm xdz27ya xnvo3vl x120eax6 xblpaj1 xldp4zc x1w1s0q4 xvtw6hk x1dca0ah x1i71eqg x1drtyhb x1vqez3m x6pmj1i xbsomw4 x1oq9ryg x1wsjk4f x1xcskap xf48o5e xl8spv7 x6s0dn4 xdj266r x15eiy0f x1lziwak x15472z4\" data-d-component=\"box\" data-d-direction=\"col\" data-d-auto-spacing=\"\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">20<\/span><\/span><\/p><span class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xuqh7lw x1cv4vem x1lziwak x15472z4 xkpwil5 xwn7fz2 x1lliihq xo1l8bm x14rh7hd\" data-d-component=\"caption\"><span data-d-streaming-word=\"\">W\u0119ze\u0142<\/span><\/span><\/div><\/div><div class=\"x78zum5 xdt5ytf xeuugli x9f619 x1s0upfa x15pztkk xgm1qm x1t0jg3p x1pidvrl x6s0dn4 xp7h7ln xdj266r x15eiy0f x1lziwak x15472z4\" data-d-component=\"box\" data-d-direction=\"col\"><div class=\"x78zum5 xdt5ytf xeuugli x9f619 x5lhr3w x12057cm xdz27ya xnvo3vl x120eax6 xblpaj1 xldp4zc x1w1s0q4 xvtw6hk x1dca0ah x1i71eqg x1drtyhb x1vqez3m x6pmj1i xbsomw4 x1oq9ryg x1wsjk4f x1xcskap xf48o5e xl8spv7 x6s0dn4 xdj266r x15eiy0f x1lziwak x15472z4\" data-d-component=\"box\" data-d-direction=\"col\" data-d-auto-spacing=\"\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">30<\/span><\/span><\/p><span class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xuqh7lw x1cv4vem x1lziwak x15472z4 xkpwil5 xwn7fz2 x1lliihq xo1l8bm x14rh7hd\" data-d-component=\"caption\"><span data-d-streaming-word=\"\">W\u0119ze\u0142<\/span><\/span><\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq xk50ysn x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">NULL<\/span><\/p><\/div><span class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 xkpwil5 xwn7fz2 x1lliihq xo1l8bm x14rh7hd x2b8uid\" data-d-component=\"caption\"><span data-d-streaming-word=\"\">Ka\u017cdy<\/span> <span data-d-streaming-word=\"\">w\u0119ze\u0142<\/span> <span data-d-streaming-word=\"\">wskazuje<\/span> <span data-d-streaming-word=\"\">nast\u0119pny<\/span> <span data-d-streaming-word=\"\">element<\/span> <span data-d-streaming-word=\"\">listy.<\/span><\/span><\/div><h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">5.<\/span> <span data-d-streaming-word=\"\">Kopiec<\/span> <span data-d-streaming-word=\"\">binarny<\/span> <span data-d-streaming-word=\"\">(Binary<\/span> <span data-d-streaming-word=\"\">Heap)<\/span><\/h1><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Cecha<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Min-Heap<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Max-Heap<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">G\u0142\u00f3wny<\/span> <span data-d-streaming-word=\"\">element<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najmniejszy<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najwi\u0119kszy<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Korze\u0144<\/span> <span data-d-streaming-word=\"\">(root)<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najmniejsza<\/span> <span data-d-streaming-word=\"\">warto\u015b\u0107<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najwi\u0119ksza<\/span> <span data-d-streaming-word=\"\">warto\u015b\u0107<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Relacja<\/span> <span data-d-streaming-word=\"\">rodzic\u2013dziecko<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Rodzic<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">mniejszy<\/span> <span data-d-streaming-word=\"\">lub<\/span> <span data-d-streaming-word=\"\">r\u00f3wny<\/span> <span data-d-streaming-word=\"\">dzieciom<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Rodzic<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">wi\u0119kszy<\/span> <span data-d-streaming-word=\"\">lub<\/span> <span data-d-streaming-word=\"\">r\u00f3wny<\/span> <span data-d-streaming-word=\"\">dzieciom<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Zastosowanie<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Szybkie<\/span> <span data-d-streaming-word=\"\">pobieranie<\/span> <span data-d-streaming-word=\"\">minimum<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Szybkie<\/span> <span data-d-streaming-word=\"\">pobieranie<\/span> <span data-d-streaming-word=\"\">maksimum<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Por\u00f3wnanie<\/span> <span data-d-streaming-word=\"\">operacji:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Operacja<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 xp4054r x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Z\u0142o\u017cono\u015b\u0107<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Odczytanie<\/span> <span data-d-streaming-word=\"\">minimum<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">Min-Heap<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 xp4054r x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(1)<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Odczytanie<\/span> <span data-d-streaming-word=\"\">maksimum<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">Max-Heap<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 xp4054r x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(1)<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dodawanie<\/span> <span data-d-streaming-word=\"\">elementu<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 xp4054r x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(log<\/span> <span data-d-streaming-word=\"\">n)<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Usuwanie<\/span> <span data-d-streaming-word=\"\">korzenia<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 xp4054r x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">O(log<\/span> <span data-d-streaming-word=\"\">n)<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">6.<\/span> <span data-d-streaming-word=\"\">Graf<\/span> <span data-d-streaming-word=\"\">(Graph)<\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">najwa\u017cniejsze<\/span> <span data-d-streaming-word=\"\">poj\u0119cia<\/span><\/h1><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Poj\u0119cie<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Znaczenie<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Przyk\u0142ad<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Graph<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Zbi\u00f3r<\/span> <span data-d-streaming-word=\"\">wierzcho\u0142k\u00f3w<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">kraw\u0119dzi<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Mapa<\/span> <span data-d-streaming-word=\"\">dr\u00f3g<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Vertex<\/span> <span data-d-streaming-word=\"\">\/<\/span> <span data-d-streaming-word=\"\">Node<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Pojedynczy<\/span> <span data-d-streaming-word=\"\">wierzcho\u0142ek<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Dom<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Edge<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Po\u0142\u0105czenie<\/span> <span data-d-streaming-word=\"\">mi\u0119dzy<\/span> <span data-d-streaming-word=\"\">wierzcho\u0142kami<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Droga<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Adjacency<\/span> <span data-d-streaming-word=\"\">List<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Lista<\/span> <span data-d-streaming-word=\"\">bezpo\u015brednich<\/span> <span data-d-streaming-word=\"\">po\u0142\u0105cze\u0144<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Home<\/span> <span data-d-streaming-word=\"\">\u2192<\/span> <span data-d-streaming-word=\"\">Store<\/span> <span data-d-streaming-word=\"\">A<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Directed<\/span> <span data-d-streaming-word=\"\">Graph<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Graf<\/span> <span data-d-streaming-word=\"\">skierowany<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Droga<\/span> <span data-d-streaming-word=\"\">tylko<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">jedn\u0105<\/span> <span data-d-streaming-word=\"\">stron\u0119<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Undirected<\/span> <span data-d-streaming-word=\"\">Graph<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Graf<\/span> <span data-d-streaming-word=\"\">nieskierowany<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Droga<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">obie<\/span> <span data-d-streaming-word=\"\">strony<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Przyk\u0142ad<\/span> <span data-d-streaming-word=\"\">listy<\/span> <span data-d-streaming-word=\"\">s\u0105siedztwa:<\/span><\/span><\/p><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wierzcho\u0142ek<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">S\u0105siednie<\/span> <span data-d-streaming-word=\"\">wierzcho\u0142ki<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Home<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Store<\/span> <span data-d-streaming-word=\"\">A,<\/span> <span data-d-streaming-word=\"\">Store<\/span> <span data-d-streaming-word=\"\">B,<\/span> <span data-d-streaming-word=\"\">Intersection<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Store<\/span> <span data-d-streaming-word=\"\">A<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Home,<\/span> <span data-d-streaming-word=\"\">Store<\/span> <span data-d-streaming-word=\"\">B<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Store<\/span> <span data-d-streaming-word=\"\">B<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">School<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">School<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Store<\/span> <span data-d-streaming-word=\"\">B,<\/span> <span data-d-streaming-word=\"\">Intersection<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Intersection<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">School<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><h1 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 xngnso2 xhacrq1 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">7.<\/span> <span data-d-streaming-word=\"\">Podsumowanie<\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">pierwsze<\/span> <span data-d-streaming-word=\"\">5<\/span> <span data-d-streaming-word=\"\">temat\u00f3w<\/span> <span data-d-streaming-word=\"\">VisuAlgo<\/span><\/h1><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Temat<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Co<\/span> <span data-d-streaming-word=\"\">oznacza?<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najwa\u017cniejsza<\/span> <span data-d-streaming-word=\"\">cecha<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Array<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Tablica<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Szybki<\/span> <span data-d-streaming-word=\"\">dost\u0119p<\/span> <span data-d-streaming-word=\"\">przez<\/span> <span data-d-streaming-word=\"\">indeks<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Sorting<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Sortowanie<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Porz\u0105dkowanie<\/span> <span data-d-streaming-word=\"\">element\u00f3w<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Bitmask<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Maska<\/span> <span data-d-streaming-word=\"\">bitowa<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Operacje<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">bitach<\/span> <span data-d-streaming-word=\"\">0<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">1<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Linked<\/span> <span data-d-streaming-word=\"\">List<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Lista<\/span> <span data-d-streaming-word=\"\">wi\u0105zana<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Elementy<\/span> <span data-d-streaming-word=\"\">po\u0142\u0105czone<\/span> <span data-d-streaming-word=\"\">wska\u017anikami<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Binary<\/span> <span data-d-streaming-word=\"\">Heap<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Kopiec<\/span> <span data-d-streaming-word=\"\">binarny<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Szybki<\/span> <span data-d-streaming-word=\"\">dost\u0119p<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">minimum<\/span> <span data-d-streaming-word=\"\">lub<\/span> <span data-d-streaming-word=\"\">maksimum<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><h2 class=\"x1ghz6dp x1717udv x1wty727 x4gjf66 xce2ely xvmwfg3 x1lziwak x15472z4 x1603h9y xladpa3 x1lliihq x1s688f x14rh7hd\" data-d-component=\"title\"><span data-d-streaming-word=\"\">8.<\/span> <span data-d-streaming-word=\"\">Najwa\u017cniejsze<\/span> <span data-d-streaming-word=\"\">r\u00f3\u017cnice<\/span> <span data-d-streaming-word=\"\">\u2013<\/span> <span data-d-streaming-word=\"\">szybka<\/span> <span data-d-streaming-word=\"\">powt\u00f3rka<\/span> <span data-d-streaming-word=\"\">przed<\/span> <span data-d-streaming-word=\"\">sprawdzianem<\/span><\/h2><div class=\"x1n2onr6 xeuugli x1wwbdsi x86bw1a x15472z4 xh2e21b x2mi6eg x1ubmpb8 x1ti9e28 xprs71m x78zum5 xdt5ytf xkh2ocl x14atkfc x2lwn1j x17fv8vw xcbzxhq\" data-d-component=\"table\" data-d-column-sizing=\"auto\"><div class=\"xeuugli xw2csxc xukzxh x72dpaj xtr5ky9 x1a18a8o x1597r2g\" data-d-table-viewport=\"\"><table class=\"x9f619 xpihzra x1mwwwfo x11v4sto x1drmoe9 xizoxc0 x15km419\"><tbody class=\"x9f619 xpihzra\" data-d-component=\"table-section\"><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Je\u015bli<\/span> <span data-d-streaming-word=\"\">w<\/span> <span data-d-streaming-word=\"\">zadaniu<\/span> <span data-d-streaming-word=\"\">pojawia<\/span> <span data-d-streaming-word=\"\">si\u0119&#8230;<\/span><\/p><\/th><th class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1s688f\" scope=\"col\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Kojarz<\/span> <span data-d-streaming-word=\"\">z&#8230;<\/span><\/p><\/th><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Indeksy<\/span> <span data-d-streaming-word=\"\">zaczynaj\u0105ce<\/span> <span data-d-streaming-word=\"\">si\u0119<\/span> <span data-d-streaming-word=\"\">od<\/span> <span data-d-streaming-word=\"\">0<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Array<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wska\u017anik<\/span> <span data-d-streaming-word=\"\">do<\/span> <span data-d-streaming-word=\"\">nast\u0119pnego<\/span> <span data-d-streaming-word=\"\">elementu<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Linked<\/span> <span data-d-streaming-word=\"\">List<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Por\u00f3wnywanie<\/span> <span data-d-streaming-word=\"\">s\u0105siednich<\/span> <span data-d-streaming-word=\"\">element\u00f3w<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Bubble<\/span> <span data-d-streaming-word=\"\">Sort<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wybieranie<\/span> <span data-d-streaming-word=\"\">najmniejszego<\/span> <span data-d-streaming-word=\"\">elementu<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Selection<\/span> <span data-d-streaming-word=\"\">Sort<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wstawianie<\/span> <span data-d-streaming-word=\"\">elementu<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">w\u0142a\u015bciwe<\/span> <span data-d-streaming-word=\"\">miejsce<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Insertion<\/span> <span data-d-streaming-word=\"\">Sort<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Operacje<\/span> <span data-d-streaming-word=\"\">AND,<\/span> <span data-d-streaming-word=\"\">OR,<\/span> <span data-d-streaming-word=\"\">XOR<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Bitmask<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Rodzic<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">dwoje<\/span> <span data-d-streaming-word=\"\">dzieci<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Binary<\/span> <span data-d-streaming-word=\"\">Heap<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najmniejszy<\/span> <span data-d-streaming-word=\"\">element<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">g\u00f3rze<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Min-Heap<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Najwi\u0119kszy<\/span> <span data-d-streaming-word=\"\">element<\/span> <span data-d-streaming-word=\"\">na<\/span> <span data-d-streaming-word=\"\">g\u00f3rze<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Max-Heap<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Wierzcho\u0142ki<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">kraw\u0119dzie<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Graph<\/span><\/p><\/td><\/tr><tr class=\"x9f619 xpihzra x1w0bn7n x1ywkntj x4q0gm4 x1004a30\" data-d-component=\"table-row\"><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Lista<\/span> <span data-d-streaming-word=\"\">bezpo\u015brednich<\/span> <span data-d-streaming-word=\"\">po\u0142\u0105cze\u0144<\/span><\/p><\/td><td class=\"x9f619 xpihzra xkpwil5 x12oo3zp x8r4c90 xeaf4i8 x1yc453h x16dsc37 x1jm3axb xjqpyvm x1goy6gf x3zso59 xu1tuar x18zw0qm   x1mzt3pk\" data-d-component=\"table-cell\"><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 xdj266r x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span data-d-streaming-word=\"\">Adjacency<\/span> <span data-d-streaming-word=\"\">List<\/span><\/p><\/td><\/tr><\/tbody><\/table><\/div><div class=\"x10l6tqk x1o0tod x13vifvy x1vjfegm x47corl x5lhr3w x16ye13r\" aria-hidden=\"true\" data-d-overflow-edges=\"\">\u00a0<\/div><\/div><p class=\"x1ghz6dp x1717udv x1wty727 x1pd3egz x4gjf66 x1wwbdsi x86bw1a x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1lliihq x14rh7hd\" data-d-component=\"text\"><span class=\"xt0psk2 x1ghz6dp x1717udv x1wty727 x4gjf66 x15eiy0f x1lziwak x15472z4 x1qlqyl8 x15bjb6t x1s688f x14rh7hd xdj266r\" data-d-component=\"text\" data-d-inline=\"\"><span data-d-streaming-word=\"\">Wniosek:<\/span><\/span> <span data-d-streaming-word=\"\">Ka\u017cda<\/span> <span data-d-streaming-word=\"\">struktura<\/span> <span data-d-streaming-word=\"\">danych<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">ka\u017cdy<\/span> <span data-d-streaming-word=\"\">algorytm<\/span> <span data-d-streaming-word=\"\">maj\u0105<\/span> <span data-d-streaming-word=\"\">inne<\/span> <span data-d-streaming-word=\"\">zastosowanie.<\/span> <span data-d-streaming-word=\"\">Najwa\u017cniejsze<\/span> <span data-d-streaming-word=\"\">jest<\/span> <span data-d-streaming-word=\"\">zrozumienie,<\/span> <span data-d-streaming-word=\"\">jak<\/span> <span data-d-streaming-word=\"\">przechowuj\u0105<\/span> <span data-d-streaming-word=\"\">dane,<\/span> <span data-d-streaming-word=\"\">jakie<\/span> <span data-d-streaming-word=\"\">operacje<\/span> <span data-d-streaming-word=\"\">umo\u017cliwiaj\u0105<\/span> <span data-d-streaming-word=\"\">i<\/span> <span data-d-streaming-word=\"\">kiedy<\/span> <span data-d-streaming-word=\"\">warto<\/span> <span data-d-streaming-word=\"\">ich<\/span> <span data-d-streaming-word=\"\">u\u017cywa\u0107.<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2c73c8c e-flex e-con-boxed e-con e-parent\" data-id=\"2c73c8c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3d50835 elementor-widget elementor-widget-text-editor\" data-id=\"3d50835\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>1. Bubble Sort (sortowanie b\u0105belkowe)<\/strong><br \/>Por\u00f3wnuje dwie s\u0105siednie liczby i zamienia je miejscami, je\u015bli s\u0105 w z\u0142ej kolejno\u015bci. Powtarza ten proces, a\u017c wszystkie liczby b\u0119d\u0105 uporz\u0105dkowane. Przyk\u0142ad: <strong>[5, 2, 4]<\/strong> \u2192 <strong>[2, 4, 5]<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-56566e3 e-flex e-con-boxed e-con e-parent\" data-id=\"56566e3\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-57f809b elementor-widget elementor-widget-image\" data-id=\"57f809b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"534\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/bubble-sort-1024x684.png\" class=\"attachment-large size-large wp-image-1218\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/bubble-sort-1024x684.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/bubble-sort-300x200.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/bubble-sort-768x513.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/bubble-sort.png 1059w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-900bf8d e-flex e-con-boxed e-con e-parent\" data-id=\"900bf8d\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-126887d elementor-widget elementor-widget-text-editor\" data-id=\"126887d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>2. Selection Sort (sortowanie przez wybieranie)\u00a0<\/strong>Wyszukuje najmniejszy element w nieposortowanej cz\u0119\u015bci tablicy i umieszcza go na pocz\u0105tku tej cz\u0119\u015bci. Nast\u0119pnie przechodzi do kolejnego miejsca.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-f996169 e-flex e-con-boxed e-con e-parent\" data-id=\"f996169\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2cebf65 elementor-widget elementor-widget-image\" data-id=\"2cebf65\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"535\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-selection-1024x685.png\" class=\"attachment-large size-large wp-image-1219\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-selection-1024x685.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-selection-300x201.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-selection-768x514.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-selection.png 1281w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f81301c elementor-widget elementor-widget-text-editor\" data-id=\"f81301c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>3. Insertion Sort<\/strong> (sortowanie przez wstawianie) Buduje posortowan\u0105 cz\u0119\u015b\u0107 listy. Ka\u017cdy kolejny element wstawia w odpowiednie miejsce, przesuwaj\u0105c wi\u0119ksze elementy w prawo.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5c38ae8 elementor-widget elementor-widget-image\" data-id=\"5c38ae8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"595\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-wstawien-1024x761.png\" class=\"attachment-large size-large wp-image-1224\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-wstawien-1024x761.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-wstawien-300x223.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-wstawien-768x571.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/sort-wstawien.png 1128w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5a6b3e9 elementor-widget elementor-widget-text-editor\" data-id=\"5a6b3e9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>4. Merge Sort<\/strong> (sortowanie przez scalanie) Dzieli list\u0119 na mniejsze cz\u0119\u015bci, sortuje je, a potem scala w jedn\u0105 uporz\u0105dkowan\u0105 list\u0119.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2710463 elementor-widget elementor-widget-image\" data-id=\"2710463\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"595\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/merge-sort-1024x762.png\" class=\"attachment-large size-large wp-image-1225\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/merge-sort-1024x762.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/merge-sort-300x223.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/merge-sort-768x572.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/merge-sort.png 1084w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3b3f985 elementor-widget elementor-widget-text-editor\" data-id=\"3b3f985\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>5.\u00a0Quick Sort<\/strong> (sortowanie szybkie) Wybiera element zwany pivotem. Dzieli pozosta\u0142e elementy na mniejsze i wi\u0119ksze od pivota, a nast\u0119pnie sortuje te cz\u0119\u015bci.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce9ed98 elementor-widget elementor-widget-image\" data-id=\"ce9ed98\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"511\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/rapid-sort-1024x654.png\" class=\"attachment-large size-large wp-image-1226\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/rapid-sort-1024x654.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/rapid-sort-300x191.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/rapid-sort-768x490.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/rapid-sort.png 1324w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7327ecb elementor-widget elementor-widget-text-editor\" data-id=\"7327ecb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>6.\u00a0<\/strong><strong>Heap Sort (sortowanie przez kopcowanie)\u00a0<\/strong>Tworzy kopiec, czyli specjaln\u0105 struktur\u0119 drzewa. Nast\u0119pnie wielokrotnie pobiera najwi\u0119kszy element i umieszcza go na ko\u0144cu listy.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-43529c7 elementor-widget elementor-widget-image\" data-id=\"43529c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"477\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/kopcowanie-sort-1024x611.png\" class=\"attachment-large size-large wp-image-1227\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/kopcowanie-sort-1024x611.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/kopcowanie-sort-300x179.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/kopcowanie-sort-768x458.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/kopcowanie-sort.png 1321w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-72428d5 elementor-widget elementor-widget-text-editor\" data-id=\"72428d5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>7. Counting Sort<\/strong> (sortowanie przez zliczanie) Zlicza, ile razy wyst\u0119puje ka\u017cda warto\u015b\u0107, a nast\u0119pnie odtwarza list\u0119 w odpowiedniej kolejno\u015bci. Najlepiej dzia\u0142a dla liczb ca\u0142kowitych z ograniczonego zakresu.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-df8125f elementor-widget elementor-widget-image\" data-id=\"df8125f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"719\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/counting-sort.png\" class=\"attachment-large size-large wp-image-1231\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/counting-sort.png 922w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/counting-sort-300x270.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/counting-sort-768x691.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e649c94 elementor-widget elementor-widget-text-editor\" data-id=\"e649c94\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>8. Radix Sort<\/strong> (sortowanie pozycyjne) Sortuje liczby wed\u0142ug kolejnych cyfr, np. najpierw jedno\u015bci, potem dziesi\u0105tek, a nast\u0119pnie setek.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3ef3a67 elementor-widget elementor-widget-image\" data-id=\"3ef3a67\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"519\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/shell-sort-1024x664.png\" class=\"attachment-large size-large wp-image-1250\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/shell-sort-1024x664.png 1024w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/shell-sort-300x194.png 300w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/shell-sort-768x498.png 768w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/shell-sort.png 1302w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6420352 elementor-widget elementor-widget-text-editor\" data-id=\"6420352\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>9.\u00a0Shell Sort<\/strong> (sortowanie Shella) Por\u00f3wnuje elementy oddalone od siebie o okre\u015blony odst\u0119p. Stopniowo zmniejsza odst\u0119p, a\u017c wynosi on 1, wykonuj\u0105c ko\u0144cowe sortowanie przez wstawianie.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b5447cc elementor-widget elementor-widget-image\" data-id=\"b5447cc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"489\" src=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/timport-sort.png\" class=\"attachment-large size-large wp-image-1258\" alt=\"\" srcset=\"https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/timport-sort.png 715w, https:\/\/4cpit.myuniversity.pl\/wp-content\/uploads\/2026\/11\/timport-sort-300x205.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2e59ac7 elementor-widget elementor-widget-text-editor\" data-id=\"2e59ac7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><strong>10.<\/strong>\u00a0<strong>Timsort<\/strong> \u0141\u0105czy sortowanie przez wstawianie i scalanie. Wykorzystuje ju\u017c uporz\u0105dkowane fragmenty danych, dlatego dobrze sprawdza si\u0119 w praktyce. Jest stosowany m.in. w Pythonie przy sortowaniu list.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Przyk\u0142ady przest\u0119pstw w sieci (cyberprzest\u0119pstw): Phishing \u2013 podszywanie si\u0119 pod bank, sklep, urz\u0105d itp. w celu wy\u0142udzenia loginu, has\u0142a lub danych karty. CERT Polska opisuje m.in. fa\u0142szywe strony logowania.DDoS \u2013 celowe przeci\u0105\u017canie serwera lub us\u0142ugi ogromn\u0105 liczb\u0105 \u017c\u0105da\u0144, aby uniemo\u017cliwi\u0107 korzystanie z niej. CERT Polska uwzgl\u0119dnia takie ataki w statystykach incydent\u00f3w.Kradzie\u017c to\u017csamo\u015bci \u2013 wykorzystanie cudzych [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-172","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=\/wp\/v2\/pages\/172","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=172"}],"version-history":[{"count":15,"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=\/wp\/v2\/pages\/172\/revisions"}],"predecessor-version":[{"id":1261,"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=\/wp\/v2\/pages\/172\/revisions\/1261"}],"wp:attachment":[{"href":"https:\/\/4cpit.myuniversity.pl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}