Question
In a binomial heap, if the root is greater than the left
child and less than the right child, which of the following statements is correct?Solution
In a binomial heap, the fundamental property is that it follows the min-heap or max-heap order property across its trees. For a min-heap binomial heap, the root of each tree must be the smallest element, meaning it should be less than all its children. Conversely, in a max-heap binomial heap, the root should be greater than all its children. The situation described in the question, where the root is greater than the left child and less than the right child, violates these properties because it suggests an inconsistent ordering.
Train X running at a speed of 30 km/hr crosses train Y in 18 seconds. Find the speed of train Y (in km/hr), if the sum of the length of train X and Y is...
A train started from station P and preceded towards station Q at a speed of 84 km/h. 40 minutes later, another train started from station Q and preceded...
Find the time (in seconds) taken by a 400 metre long train which is moving at a speed of 90 km/h, to cross a 500 metre long bridge.
A train can cross a pole, a bridge of 600 meter long and platform of 400 meter long in 13 seconds, _____ seconds and 29 seconds, respectively.
...
160 metre long train βAβ can cross a platform of length 120 metres in 16 seconds. If the speed of train βBβ is 6 m/s more than that of train β...
Train P travelling at 62 km/hr crosses another train Q, having three fourth of its length and travelling in opposite direction at 28 km/hr in 14 seconds...
There are two trains A and B. A start from point X at 5 AM towards point Y. Another train B starts at 7 AM from point Y. If they meet at 9 AM and speed ...
A train traveling at 43.2 km/h takes 'm' seconds to pass a pole. What is the length of the train in meters?
Two trains approach each other at 19 kmph and 23 kmph from 2 places 210 km apart. After how many hours they will meet?
A train passes an electrical pole in 15 seconds and passes a platform 345 m long in 60 seconds. Find the length of the train.