JP Morgan HireVue Coding Editor Input Format
Anonymous User
1077

I've read that JP Morgan uses standard input in their coding challenges. I previously have not any experience with this as I've only used input() while working in Jupyter Notebook. Also, here on LeetCode and on HackerRank, when we're given inputs, they're already in the correct format, i.e, a string is already a string and a list is already a list.

So, for this particular problem:
https://leetcode.com/problems/valid-parentheses/

Would the input be delivered on a line like so:
'{', '[', '(', ')', ']', '}'

And then we would have to manipulate this input and hold it in a string?

s = {[()]}

Comments (1)