Challenge: Word Formation Using a Hash Table
Try to solve the Word Formation Using a Hash Table problem.
We'll cover the following
Statement
Given a list of words words_list
, determine whether a given target
can be formed by combining two words from the list in any order.
Constraints:
2
words_list.length
1
words_list[i].length
2
target.length
All words consist of lowercase English letters
Examples
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.