**yesterday i gave my flipkart grid oa.There was three questions asked based on dsa.i do not remember question properly but i can give u an idea **
1> a string is multigram if it is not return "-1" otherwise we have to tell shortest anagram from left to right
3>i do not remeber 3rd question but it was based on weighted graph