Q1: reverse the word in string.for eh I/p: hello world, o/p: world hello...
Q2: classify the anagram. For eg: [eat, cat, tea, ate, act],o/p: [eat,tea,ate],[cat,act]
Q3: largest subarray sum, I/p: [1,2,4,-1,5,-2,-4].o/p: provide exact value of larger sum of one of the sub array (6)
Q4: remove repeated string provide how many characters have without repeating for eg abbacaacb o/p: 3...exp abc
Q5: top of staircase using 1,2steps , I/p stairs= 3 , o/p ways 1 1 1, 1 2, 2 1 these are ways to go top
Q6: dynamic programming concepts- Use least n number of coins to reach the target amount I/p:coins (1,2,5), target: 11rs o/p : (5,5,1)....