
Algorytmy 3

Flashcard
•
Computers
•
University
•
Hard
Maciek Dąbrowski
Used 1+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Co to jest sortowanie przez scalanie (merge sort)?
Back
To strategia sortowania, która dzieli listę na połowy, rekurencyjnie sortuje każdą połowę, a następnie scala dwie posortowane podlisty.
2.
FLASHCARD QUESTION
Front
Jak działa algorytm Merge w sortowaniu przez scalanie?
Back
Algorytm Merge przyjmuje dwie uporządkowane tablice A i B, porównuje ich elementy i tworzy nową tablicę e, która zawiera wszystkie elementy A i B w porządku rosnącym.
3.
FLASHCARD QUESTION
Front
Jakie jest złożoność czasowa algorytmu Merge?
Back
Złożoność czasowa algorytmu Merge wynosi O(n + m), gdzie n i m to długości tablic A i B.
4.
FLASHCARD QUESTION
Front
Jak działa funkcja mergesort?
Back
Funkcja mergesort dzieli tablicę na dwie części, rekurencyjnie sortuje każdą z nich, a następnie scala wyniki za pomocą funkcji Merge.
5.
FLASHCARD QUESTION
Front
Jakie jest ogólne złożoność czasowa algorytmu mergesort?
Back
Złożoność czasowa algorytmu mergesort wynosi O(n log n).
6.
FLASHCARD QUESTION
Front
Co to jest heapsort?
Back
Heapsort to algorytm sortowania, który działa w miejscu i wykorzystuje strukturę danych zwaną kopcem.
7.
FLASHCARD QUESTION
Front
Jakie są podstawowe procedury działające na kopcach?
Back
Podstawowe procedury to Heapify, Build-Heap i Heapsort.
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University