Was asked two questions:
Started off with some behavioral questions for like 7-10 mins and then was asked to solve two questions on coderpad, I could not find either of those question on leetcode so I could not find any links.
1.) Find the second smallest number in an array.
2.) Given a dictionary of the words(strings) which contains different words & you are given an input string e.g. “abd”. You need to find the largest word available in the supplied dictionary which can be made using the letters of input string. The returned word can contain only the same no of occurrences of the letters as given in the input string i.e. if a letter is given once then in the output it should be existed only once. Examples:
1, Dictionary {“to”, “banana”, “toe”, “dogs”, “ababcd”, “elephant”} and input string is “eot”. Output should be “toe”
2, Dictionary is same as specified in example a but the input string is “ogtdes” and the output is “dogs” and “toes”
I cleared this round and have been selected for the CoderPad Round 2, anyone has any idea what to expect from this round?