Dropbox

1 DSA problems asked in Dropbox coding interviews

1 Easy
0 Medium
0 Hard
​

1 problem

Arrays & Hashing
1
Word Pattern
Easy

Given a `pattern` of lowercase letters and a string `s` of words separated by single spaces, decide whether `s` follows the pattern. Following means there is a bijection: each letter maps to exactly one word, each word maps to exactly one letter, and replacing every letter of the pattern with its word gives `s`.