Definitionپێناسە
A tree-shaped data structure that always keeps the smallest item (min-heap) or the largest item (max-heap) at the top, so it can be taken out quickly; it is the normal way to build a . In databases, a heap (heap file) is a table whose rows are stored in no particular order, without a .
دارئاسایە کە هەمیشە بچووکترین دانە () یان گەورەترین دانە () لە سەرەوە دەهێڵێتەوە، بۆیە بە خێرایی دەردەهێنرێت؛ ڕێگەی ئاساییە بۆ دروستکردنی . لە ، هیپ (فایلی هیپ) خشتەیەکە کە ڕیزەکانی بە هیچ ڕیزبەندییەک هەڵنەگیراون و نییە.
Exampleنموونە
In a heap stored as a list, the children of the item at index i are at 2i + 1 and 2i + 2, and its parent is at (i − 1) // 2.
لە کە لە لیستێکدا هەڵگیراوە، منداڵەکانی ئەو دانەیەی لە ئیندێکسی i دایە لە 2i + 1 و 2i + 2دان و باوکەکەی لە (i − 1) // 2دایە.
Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
هیپەکە، هیپەکان، هیپێک، هیپی، هیپەکانی، هیپێکی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
The owner writes 'Heap' in English (Lab 3 drawing); no Kurdish source has the term, so the loan is proposed. This is the data structure, not the 'heap' area of memory.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
Learn more inزیاتر فێربە لە
- Priority Queues and Heapsکیووە پێشینەییەکان و هیپەکان
- Heuristics and Greedy Best-First Searchپێوەرەکان و گەڕانی چاوچنۆکانە
- A* Searchگەڕانی A*
- Depth-Limited, Uniform-Cost, Iterative Deepening and Bidirectional Searchگەڕانی قووڵایی سنووردار، گەڕانی کەمترین کۆست، گەڕانی قووڵکردنەوەی پلەبەپلە و گەڕانی دووئاڕاستە
- Stacks: Last In, First Outستاکەکان: دوایین هاتوو، یەکەم دەرچوو
- Queues and Deques: First In, First Outکیووەکان و کیووە دووسەرەکان: یەکەم هاتوو، یەکەم دەرچوو
- Binary Search and Hashingگەڕانی دووانی و هاشکردن
- What Is Artificial Intelligence?ژیریی دەستکرد چییە؟
- Agent Programs, Pseudocode and Algorithm Analysisبەرنامەکانی ئەیجێنت، نیمچەکۆد و شیکارکردنی ئەلگۆریزم
- The Python You Need for the AI Labsئەو Pythonـەی بۆ تاقیگەکانی ژیریی دەستکرد پێویستە