Skip to content

Strings typed on broken keyboard #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hamidgasmi opened this issue Aug 8, 2020 · 0 comments
Open

Strings typed on broken keyboard #265

hamidgasmi opened this issue Aug 8, 2020 · 0 comments
Assignees

Comments

@hamidgasmi
Copy link
Owner

hamidgasmi commented Aug 8, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant