Two blocks and of masses and respectively are connected by a massless inextensible string passing over a frictionless pulley as shown in the figure. Block A is lifted until block B touches the ground and then block A is released. The initial height of block A is when block B just touches the ground. The maximum height reached by block from the ground after the block A falls on the ground is

Common acceleration of the system is given by-
When block of mass hits the ground, at that time block of mass will be at a height of from the ground. After this point string become slack and block will move with deceleration
Using third equation of motion, speed of block When block Reaches the ground-
Again using third equation of motion, suppose block will further move upto a height of
hence, total height of block from the ground