ServiceNow interview question

Write a function that returns true if the given string has balanced parentheses, and false otherwise.

Interview Answers

Anonymous

23 Jan 2021

There's a lot of elements to typically cover in these questions, clarifications, scoping, making sure you're answering the actual question the interviewer is looking for you to answer, etc. Could be worth doing a mock interview with one of the Prepfully ServiceNow Software Engineer(Internship) experts... they've worked in the role so they clearly know how to get through the interview. prepfully.com/practice-interviews

Anonymous

25 Jul 2020

let isBalancedParanthesis = function (str) { let brackets = [40, 41, 91, 93, 123, 125], res = []; for (let i=0; i

1