1. Glossaryفەرهەنگی زاراوەکان
Stack
ستاک
Used in Kurdish course materials — not yet reviewedلە کەرەستە کوردییەکانی کۆرسدا بەکارهاتووە — هێشتا پێداچوونەوەی بۆ نەکراوە

Definitionپێناسە

A data structure in which the last item added is the first one taken out (LIFO), like a pile of books. Depth-first search keeps its frontier in a stack.

کە تێیدا دوایین دانە کە دەخرێتە سەری یەکەم دانەیە کە دەردەهێنرێت ⁦(LIFO)⁩، وەک کۆمەڵێک کتێب کە لەسەر یەک دانراون. لە هەڵدەگرێت.

Exampleنموونە

In a stack, to visit the left node first, push the right node first and then the left node.

لە ، بۆ ئەوەی دەستەچەپ لە پێشدا سەردان بکرێت، پێویستە سەرەتا دەستەڕاست بخرێتە ناو ستاکەکەوە، ئینجا نۆدی دەستەچەپ.

stack = ['S']
stack.append('A')
stack.append('B')
print(stack.pop())  # B (last in, first out)

Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر

ستاکەکە، ستاکەکان، ستاکێک، ستاکی، ستاکەکانی، ستاکێکی

Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە

The owner's Lab 1 Kurdish note: «لە (ستاکدا)دا، بۆ سەردانیکردنی نۆدی دەستەچەپ، پێویستە لە ستاکدا نۆدی دەستەڕاست دابنرێت ئینجا نۆدی دەستەچەپ»; Sozyar Osman (S2, p. 47) also writes ستاک.

Related termsزاراوە پەیوەندیدارەکان

Videosڤیدیۆکان

5.1 Graph Traversals - BFS & DFS -Breadth First Search and Depth First SearchAbdul Bari · Englishئینگلیزی · 5.1M viewsبینین · 91K likesلایک · Partبەشی 12:13–16:03 (ofلە 18:30)
Reverse Polish Notation and The Stack - ComputerphileComputerphile · Englishئینگلیزی · 327K viewsبینین · 10K likesلایک · Partبەشی 9:08–13:32 (ofلە 13:32)
Search - Lecture 0 - CS50's Introduction to Artificial Intelligence with Python 2020CS50 · Englishئینگلیزی · 190K viewsبینین · 3.8K likesلایک · Partبەشی 25:57–28:30 (ofلە 1:49:29)
Python Stacks - Python Tutorial for Absolute Beginners | MoshProgramming with Mosh · Englishئینگلیزی · 200K viewsبینین · 3.3K likesلایک · Partبەشی 0:40–4:12 (ofلە 4:51)

Learn more inزیاتر فێربە لە