Bloomberg | Technical Phone Interview | Entry Level - SWE
Anonymous User
821
Jan 24, 2023
Interviewer was nice. They asked me questions about my background, asked me about the projects I worked on. Then, they asked me the following technical question which was along the lines of: "Given a string, find the deepest string nested inside a '()', '[]' or '{}'."
e.g.
'''
"abc(def)ghi" => ["def"]
"abc(def[ghi]jkl)mno" => ["ghi"]
"abc(def)ghi[jkl]mno" => ["def", "jkl"]
"abc" => ["abc"]
"" => [""]
(),[],{}
'''
Comments (1)


