Skip to content

Strings typed on broken keyboard #265

Open
@hamidgasmi

Description

@hamidgasmi

There is a broken keyboard in which space gets typed when you type the letter 'e'. Given an input string which is the output from the keyboard. A dictionary of possible words is also provided as an input parameter of the method. Return a list of possible actual input typed by the user.

E.g.
Input:
String: "can s r n "
Dictionary: ["can", "canes", "serene", "rene", "sam"]
Output: ["can serene", "canes rene"]

For more details

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions