Phone Interview Round : Boggle Game

  • 3

    Give a word check if the word in the boggle board.

    The game begins by shaking a covered tray of 16 cubic dice, each with a different letter printed on each of its sides. The dice settle into a 4×4 tray so that only the top letter of each cube is visible. Words can be constructed from the letters of sequentially adjacent cubes, where "adjacent" cubes are those horizontally, vertically, and diagonally neighboring.

    For ex: After shaking the tray the dices settle as below.

    T E S T
    E S T Q
    P E N R
    C D F G

    the word TESTS is present in the tray.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.