Meta Interview Question

python:1. find 's' in mississippi 2. uncommon words 3. replace none with next element in the list. SQL: 2 questions on case, 1 on order-limit/rank/top(whatever you want to use),percentage/ratio calculations/joins

Interview Answer

Anonymous

Apr 21, 2021

string = 'mississippi' x=0 for i in range(len(string)): if string[i] == 's': x += 1 print(x)