Indeed Interview Question

validate python codes. Python is validated by the indents before each line of code, so given a vector of strings (line of code), validate if it meets python requirement. I remember there are 4 basic rules provided. The solution is to use a stack. Not a hard problem.