From 5cb7e38299b33d60989f9a589c457aa3ee9d877e Mon Sep 17 00:00:00 2001 From: Elif <43970039+elifnurkarakoc@users.noreply.github.com> Date: Sat, 22 Jan 2022 12:05:55 +0300 Subject: [PATCH] docs: add README.tr-TR.md (#833) * docs: added Turkish translation of Heap (data structures) algorithm * docs: removed other languages section from translation file Co-authored-by: Oleksii Trekhleb --- src/data-structures/heap/README.md | 3 ++- src/data-structures/heap/README.tr-TR.md | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/data-structures/heap/README.tr-TR.md diff --git a/src/data-structures/heap/README.md b/src/data-structures/heap/README.md index b125fad7..cbd7f12e 100644 --- a/src/data-structures/heap/README.md +++ b/src/data-structures/heap/README.md @@ -5,7 +5,8 @@ _Read this in other languages:_ [_Русский_](README.ru-RU.md), [_日本語_](README.ja-JP.md), [_Français_](README.fr-FR.md), -[_Português_](README.pt-BR.md) +[_Português_](README.pt-BR.md), +[_Türkçe_](README.tr-TR.md) In computer science, a **heap** is a specialized tree-based data structure that satisfies the heap property described diff --git a/src/data-structures/heap/README.tr-TR.md b/src/data-structures/heap/README.tr-TR.md new file mode 100644 index 00000000..b741ef30 --- /dev/null +++ b/src/data-structures/heap/README.tr-TR.md @@ -0,0 +1,18 @@ +# Heap (data-structure) + +Bilgisayar biliminde, **yığın (heap)** aşağıda açıklanan özellikleri karşılayan ağaç tabanlı(tree-based) özel bir veri yapısıdır. + +*min heap*, Eğer `P`, `C`'nin üst düğümü ise, `P`'nin anahtarı (değeri) `C`'nin anahtarından (değerinden) küçük veya ona eşittir. + +![MinHeap](https://upload.wikimedia.org/wikipedia/commons/6/69/Min-heap.png) + +*max heap*, `P`'nin anahtarı `C`'nin anahtarından büyük veya eşittir. + +![Heap](https://upload.wikimedia.org/wikipedia/commons/3/38/Max-Heap.svg) + +Yığının (Heap) "en üstündeki" ebeveyni olmayan düğüme kök düğüm (root node) denir. + +## Referanslar + +- [Wikipedia](https://en.wikipedia.org/wiki/Heap_(data_structure)) +- [YouTube](https://www.youtube.com/watch?v=t0Cq6tVNRBA&index=5&t=0s&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8) \ No newline at end of file