Which of the following is correct for a Red-Black Tree?
- Can have both red or black root node
- Has red root node
- Has black root node
- Root color does not matter
Explanation
- Red nodes cannot have red children (no two reds in a row).
- Every path from a node to its leaves has the same number of black nodes.
Related MCQs
براؤزر کے پہلے صفحے کے نام سے جانا جاتا ہے؟
- Homepage
- Browser
- Cookie
- None
اس سوال کو وضاحت کے ساتھ پڑھیں
اینگلر کس چیز کا فریم ورک ہے؟
- Php
- javaScript.
- Python
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
وہ پروسیسر یونٹ جو کمپیوٹر کے تمام آپریشنز کو کنٹرول، ہم آہنگ اور ہدایات دیتا ہے، اسے کیا کہتے ہیں؟
- Cache memory
- Arithmetic unit
- Control unit
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایرک کیا ہے؟
- Plagiarism technique in research
- Database in education
- Software
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ریم سے کیا مراد ہے؟
- Random Access Memory
- Random Access Money
- Random Accurate Memory
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Leave a Reply
Your email address will not be published. Required fields are marked *