Question
A company needs to schedule a maximum number of meetings
in a single conference room. Each meeting `i` has a start time `s_i` and an finish time `f_i`. Once a meeting starts, it must run to completion.   Consider the following greedy strategy:   1. Sort all meetings by their start times in ascending order.   2. Select the first meeting.   3. From the remaining meetings, select the next meeting that starts after the previously selected meeting finishes.   4. Repeat until no more meetings can be selected.   Given the meetings: `(s, f)`  `M1: (1, 4)`   `M2: (3, 5)`   `M3: (0, 6)`   `M4: (5, 7)`   `M5: (8, 9)`   `M6: (5, 9)`   Which set of meetings will be selected by the described greedy strategy?ÂSolution
Answer : B)`M3: (0, 6)` Â Â Â Â `M1: (1, 4)` Â Â Â Â `M2: (3, 5)` Â Â Â Â `M4: (5, 7)` Â Â Â Â `M6: (5, 9)` Â Â Â Â `M5: (8, 9)` Â Â Â Â 1. Select `M3 (0, 6)`. Current end time = 6. Â Â Â Â 2. Iterate through remaining: Â Â Â Â Â Â `M1 (1, 4)`: `1 < 6` (cannot select) Â Â Â Â Â Â `M2 (3, 5)`: `3 < 6` (cannot select) Â Â Â Â Â Â `M4 (5, 7)`: `5 < 6` (cannot select) Â Â Â Â Â Â `M6 (5, 9)`: `5 < 6` (cannot select) Â Â Â Â Â Â `M5 (8, 9)`: `8 >= 6` (can select). Select `M5`. Current end time = 9. Â Â Â Â 3. No more meetings. Â Â Â Â Selected: `M3, M5`.Â
Find the radius of the sphere whose volume is 562.5Ï€ cm3
- Length of a chord in a circle of radius 'r' cm, is 14 cm and distance between chord and centre of the circle is 24 cm. Find the value of (4r - 60).
The radius of a circle is 10 cm, and the length of the chord is 12 cm. Find the distance between the chord and the centre of the circle. Â
What will be inradius of an equilateral triangle of side 2 cm?
In a right angle triangle, the product of two sides is half of the square of the third side (i.e., hypotenuse). Accordingly find out the acute angle?
In the given Figure, Find  angle BCD. If AB is a diameter & AB is parallel to CD.
Angles of a triangle are in the ratio 2 : 3 : 7. Find the difference between the largest and smallest angle of the triangle.
If median AD of an equilateral ∆ABC is 6 cm and G is centroid. Find AG?
In ΔABC, PQ is parallel to BC If AP: PB= 3:4 and AQ= 6 cm, AC is equal to?