Arrays, lists, trees, graphs, hashing, sorting, complexity.
این مجموعه فلشکارت برای دانشجویان علوم کامپیوتر، مهندسی نرمافزار و افرادی طراحی شده است که خود را برای مصاحبههای فنی آماده میکنند. محتوای این کارتها شامل پرسش و پاسخهای دقیق و کوتاه درباره مفاهیم بنیادین مانند آرایهها، لیستهای پیوندی، درختها، گرافها، الگوریتمهای مرتبسازی، جدولهای هش و تحلیل پیچیدگی است.
ساختار این کارتها بهگونهای است که پرسشهای مفهومی و کلیدی در روی کارت و پاسخهای دقیق و فنی در پشت آن قرار دارند. این فرمت به شما امکان میدهد تا دانش خود را بهصورت فعال بازیابی کنید و مفاهیم را بهجای حفظ کردن سطحی، عمیقاً درک کنید.
استفاده از این مجموعه در کنار سیستم تکرار فاصله دار یادمد کمک میکند تا مطالب را با کمترین زمان تلفشده در حافظه بلندمدت خود تثبیت کنید. این کارتها را میتوانید روزانه مرور کنید تا برای آزمونها یا جلسات مصاحبه آماده بمانید.
۱۲ کارت اول از ۸۰ — رو و پشت هر کارت
What is the primary advantage of an array over a linked list?
Arrays provide O(1) random access to elements using an index, whereas linked lists require O(n) traversal to reach a specific index.
What is the main drawback of static arrays regarding memory?
Static arrays have a fixed size allocated at creation time, making it impossible to add elements beyond capacity without allocating a new array and copying data.
How does a dynamic array handle automatic resizing?
When full, it allocates a new backing array of double the previous capacity, copies all existing elements over, and frees the old memory.
What is the time complexity of accessing an element in a singly linked list?
O(n), because you must traverse the list sequentially from the head node to reach the desired position.
What is the primary benefit of a doubly linked list over a singly linked list?
Each node contains a reference to both the next and previous nodes, allowing bidirectional traversal and O(1) deletion of a node given its reference.
What is a tree data structure?
A hierarchical data structure consisting of a root node and child nodes branching from it, with the constraint that there is only one path between any two nodes.
What defines a binary tree?
A tree data structure in which each node has at most two children, referred to as the left child and the right child.
What is the structural property of a Binary Search Tree (BST)?
For any node, all keys in its left subtree are less than the node's key, and all keys in its right subtree are greater.
What is the worst-case time complexity of search, insertion, and deletion in an unbalanced BST?
O(n), which occurs when the tree degenerates into a linear chain of nodes resembling a linked list.
What is a self-balancing binary search tree?
A BST that automatically keeps its height (or number of levels) small in the worst-case, ensuring logarithmic time operations.
Name two common types of self-balancing binary search trees.
AVL trees and Red-Black trees.
What is a graph data structure?
A collection of vertices (nodes) connected by edges, used to represent networks and pairwise relationships.
این مجموعه برای افراد مبتدی تا متوسط که مباحث پایه ساختمان داده را مطالعه کردهاند و نیاز به مرور و تثبیت مطالب دارند، مناسب است. همچنین برای مرور سریع پیش از مصاحبههای شغلی کاربرد دارد.
پیشنهاد میشود روزانه چند دقیقه وقت بگذارید و کارتهای جدید و مرورهای روزانه را در پلتفرم یادمد انجام دهید. روی سوال فکر کنید، جواب را در ذهن خود بیاورید و سپس پاسخ پشت کارت را بررسی کنید.
این کارتها روی مفاهیم اصلی و پرتکرار مانند ساختارهای داده رایج، الگوریتمهای مرتبسازی و تحلیل پیچیدگی تمرکز دارند. با این حال، تسلط بر آنها باید با حل مسئله و تمرین عملی همراه باشد.
هنوز کسی آزمون نداده؛ اولین نفر باش.
تا ۲۰ سؤال چهارگزینهای از همین دسته، ۳۰ ثانیه برای هر سؤال. خودت را بسنج و رتبهات را میان بقیه ببین. هر نفر فقط یکبار میتواند شرکت کند.
برای شرکت در آزمون وارد شو