DealShare | Interview Experience | SDE | 12th April 2021
Question · Posted Apr 2021
EntHire platform took interview on behalf of DealShare. The interview takes place for 40mins. The interviewer focus on problem solving techniques rather than resume or projects. 2 problems were asked and both were pretty easy. Solved both the problems Problem - 1 Expand the input by opening up the parenthesis in a nested fashion as shown in the examples. Input: 2[a3[bc]] Output: "abcbcbcabcbcbc" Input: 2[b] Output: "bb" Input: 1[a2[b]] Output: "abb" Problem - 2 Given a Binary Search tree (BST) ...
The full answer & interview discussion are available to premium members.
Log in Create a free account