PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Coding & Algorithms/Turo

Check if a word exists in a grid

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's skills in backtracking search, grid traversal, and managing state for constrained path-finding problems. Commonly asked to assess algorithmic problem-solving, recursion and memory-management (including in-place visited marking) within the Coding & Algorithms domain, it emphasizes practical application and understanding of time and space complexity trade-offs rather than purely theoretical concepts.

  • medium
  • Turo
  • Coding & Algorithms
  • Software Engineer

Check if a word exists in a grid

Company: Turo

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Given an m×n grid of characters and a string word, determine whether the word can be formed by sequentially adjacent cells (adjacent means horizontally or vertically). The same cell may not be used more than once in a single path. Implement a function `exists(board, word) -> bool`. Follow-up: Explain how to do the visited marking in-place (without an extra visited matrix) and derive the time and space complexity.

Quick Answer: This question evaluates a candidate's skills in backtracking search, grid traversal, and managing state for constrained path-finding problems. Commonly asked to assess algorithmic problem-solving, recursion and memory-management (including in-place visited marking) within the Coding & Algorithms domain, it emphasizes practical application and understanding of time and space complexity trade-offs rather than purely theoretical concepts.

Turo logo
Turo
Feb 12, 2026, 12:00 AM
Software Engineer
Technical Screen
Coding & Algorithms
3
0

Given an m×n grid of characters and a string word, determine whether the word can be formed by sequentially adjacent cells (adjacent means horizontally or vertically). The same cell may not be used more than once in a single path.

Implement a function exists(board, word) -> bool.

Follow-up: Explain how to do the visited marking in-place (without an extra visited matrix) and derive the time and space complexity.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Turo•More Software Engineer•Turo Software Engineer•Turo Coding & Algorithms•Software Engineer Coding & Algorithms
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.