link->
please solve this … one test case wrong and one run error
Try to think of the case when u have consecutive stars.