Candidatei-me por meio de uma agência de recrutamento. Fui entrevistado pela DreamWorks Animation (Pune) em abr. de 2014
Entrevista
I was contacted by a consultant for this opportunity. My profile got shortlisted and I was made to give online programming test. on hackerrank.com. The test is very simple program. I will detail the program below. Time given to solve this problem is 2 hours. I am waiting for my second round now.
Perguntas de entrevista [1]
Pergunta 1
Your program should perform parentheses matching on a given string to verify that the parentheses are balanced. It should print "True" if the match is good and "False" if the match is bad.
The input will be a string with 3 different kinds of parentheses - { }, [ ], ( )
Examples:
Valid: (returns True)
abc{def}ghi(jkl)mno[pqr]
a{([b])}
Invalid: (returns False)
abc{(def})
ab[c)
abc}def{
Bonus Points for solutions that do not use extra memory (ex. mutable variables) to store state.