1. Make every elements of array equal and find cost in the process. 2.There are L and R in string shift all R together in minimum cost.
Anonymous
It was coding question. You can simply find it on GFG
Check out your Company Bowl for anonymous work chats.