Given a rope of 10m , numbered at 1m i.e like 0 1 2 3 4 5 6 7 8 9 10 |----|---|---|---|---|---|---|---|---|---| |-------------------10m------------|
One dry out it clothes of various length like 4m from 0-4 then of 2m from 6-8 then 6m from 2-8 and so on ,one on top of another , then u need to construct a data structure such that when seeing from the top u have to give the number of clothes drying , at one particular instance. -- Thanks and Regards *Karan Bagaria* *MCA Final Year* Training and Placement Representative -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.