Question library
Questions from real interviews. Drill any of them by voice in a couple of minutes, with an interviewer, a score and feedback.
Why are strings immutable in Java, and why shouldn't you concatenate strings with plus in a loop?JuniorWrite a function parseQuery without using URLSearchParams. It takes a query string, for example question mark, a equals one, ampersand, b equals two, and returns an object with the keys and values. If a key repeats, its values are collected into an array.JuniorДан список слов. Сгруппируйте слова, которые являются анаграммами друг друга. Например, из слов eat, tea, tan, ate, nat, bat получится три группы: eat, tea, ate; tan, nat; bat.Mid-levelДана строка из скобок трёх видов: круглых, квадратных и фигурных. Проверьте, является ли она правильной скобочной последовательностью. Например, «([]{})» — правильная, а «([)]» — нет.Mid-levelДана строка. Найдите длину самой длинной подстроки, в которой все символы различны. Например, для строки «abcabcbb» ответ 3 — это подстрока «abc».Mid-level