Explain what a Binary Search Tree is.

Answer Posted / glibwaresoftsolutions

Data is efficiently stored and retrieved using a binary search tree.
Nodes with keys less than the node's key value can be found in the left sub-tree.
Nodes with keys larger than or equal to the node's key value can be found in the right sub-tree.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a function that will take in a phone number and output all possible alphabetical combinations

803


Write program to remove duplicate in an array?

797


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

834


What is the purpose of 'register' keyword in c language?

802


Explain the priority queues?

831


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2094


Explain modulus operator.

790


Where is volatile variable stored?

829


Tell us two differences between new () and malloc ()?

824


What is the size of empty structure in c?

804


What is the difference between new and malloc functions?

802


In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]

2210


What is the purpose of macro in C language?

848


Write a code to remove duplicates in a string.

817


Why header file is used in c?

765