📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Binary trees are often used to represent hierarchical

    data. Which of the following is NOT a direct application of binary trees?
    A Representing file systems Correct Answer Incorrect Answer
    B Implementing expression parsers Correct Answer Incorrect Answer
    C Storing data for a priority queue Correct Answer Incorrect Answer
    D Modeling decision processes Correct Answer Incorrect Answer
    E Implementing hash tables directly Correct Answer Incorrect Answer

    Solution

    While binary trees (specifically BSTs) can be used within hash tables for collision resolution (e.g., separate chaining with trees), they are not used to implement the hash table structure directly. Hash tables primarily rely on arrays and hash functions.

    Practice Next
    ask-question