sap consultant interview questions shared by candidates
Reverse the whole string. Eg. Input: I.love.programming Output: programming.love.I
s=input() res= ans='' for i in s: if i=='.': res+=[s[:s.index(i)+1]] s=s[s.index(i)+1:] res+=['.'] res+=[s] for i in range(len(res)-1,-1,-1): ans+=res[i] ans1=ans[:len(ans)-1] print(ans1)
s=input() res=s.split('.') ans= for x in res: ans.insert(0,x) print(".".join(map(str,ans)))
5) Tell me about a time you overcame a tricky situation. How did you do it? 6) How do you feel about challenging work? 7) How do you feel about asking questions? 8) You have been given a task, a colleague tells you straight away he has a lead that can provide a solution though you are not sure. Do you back him or decide to do your own research?