SQL questions on promotions, sales schema.
1. find top 5 sales products having promotions
3. what %age of sales happened on first and last day of the promotion
Python:-
1. [1,None,1,2,None} --> [1,1,1,2,2] Ensure you take care of case input[None] which means None object.
2. find s in missisipi.
3. Complete a function that returns a list containing all the mismatched words (case sensitive) between two given input strings # For example: # - string 1 : "Firstly this is the first string" # - string 2 : "Next is the second string" # # - output : ['Firstly', 'this', 'first', 'Next', 'second']