Indeed | Phone(Karat)
Anonymous User
2130

Karat interview:

  1. You're given a list of words and a string s. Iterate over the list of words and return the first one that can be construcuted using the characters in s. You will only have to return at most 1 word.

  2. Basically like the word search problem: https://leetcode.com/problems/word-search-ii/
    except that you have to return the positions of the characters in the grid for the word.

Passed all cases for 1st question and was in the middle of answering the 2nd one when I ran out of time, but I got moved to onsite.

Comments (3)