Description
Solutions
Search Mysterious Grid ๐ช
๐ฅ FULLTIME๐RELATED PROBLEMS
You're exploring a mysterious grid filled with ancient symbols, and you possess a set of unique symbols that you seek within this grid. Your mission is to devise a method to search for these symbols amidst the labyrinth of characters. However, there are rules to follow:
Your task is to calculate the number of times you encounter these symbols within the grid, following these strict guidelines.
P.S. For original prompt, pls refer to source image ๐
Example 1:
Input: phrases = ["ac", "cat", "car", "bar", "acdc", "abacaba"], grid = [["a", "b", "a", "c"], ["x", "a", "c", "d"], ["y", "r", "d", "s"]]
Output: 7
Explanation:Unfortunately, we don't have the access to the video mentioned in the example image ๐ฅน
Constraints:
Uknown for now

Related Problems
Testcase
Result
Case 1
input:
output: