Page 1 of 7
1 2 3 7

Data Structure and Algorithm

Miscellaneous Problem | Swayamvar Ceremony | Codewindow.in

Previous Question A ceremony where a Bride chooses her Groom from an array of eligible bachelors is called Swayamvar. But this is a Swayamvar with difference. An array of Bride-to-be will choose from an array of Groom-to-be. The arrangement at this Swayamvar is as follows • Brides-to-be are organized such that the most eligible bachelorette …

Miscellaneous Problem | Swayamvar Ceremony | Codewindow.in Read More »

Miscellaneous Problem | Sequence of Distinct Numbers | Codewindow.in

Previous Question Given a sequence of distinct numbers a1,a2,a3……..an, an inversion occurs if there are indices iaj For example in the sequence 2 1 4 3 there are 2 inversions (2 1) and (4 3) The input will be main sequence of N positive integers. From this sequence, a derived sequence Will be obtained using …

Miscellaneous Problem | Sequence of Distinct Numbers | Codewindow.in Read More »

Miscellaneous Problem | Dr. Vishnu’s Hospital | Codewindow.in

Previous Question Dr. Vishnu is opening a new world class hospital in a small town designed to be the first preference of the patients in the city. Hospital has N rooms of two types – with TV and without TV, with daily rates of R1 and R2 respectively. However, from his experience Dr. Vishnu knows …

Miscellaneous Problem | Dr. Vishnu’s Hospital | Codewindow.in Read More »

Miscellaneous Problem | System Administrator | Codewindow.in

Previous Question Suppose You are a System Administrator. You have access to unlimited no. of servers with same amount of CPU (#of cores) & Memory (GB). On these servers, you have to pack number of applications X , deployed as VMs such that the total cost of ownership without affecting the application performance, is the …

Miscellaneous Problem | System Administrator | Codewindow.in Read More »