menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

The one about words
source image

Dev

4w

read

39

img
dot

Image Credit: Dev

The one about words

  • Task 1: Replace Words
  • You are given an array of words and a sentence. Write a script to replace all words in the given sentence that start with any of the words in the given array.
  • Task 2: Word Search
  • You are given a grid of characters and a string. Write a script to determine whether the given string can be found in the given grid of characters. You may start anywhere and take any orthogonal path, but may not reuse a grid cell.

Read Full Article

like

2 Likes

For uninterrupted reading, download the app