← ALL NOTES
Hash Table

1079. Letter Tile Possibilities

Given letter tiles (with possible repeats), count the distinct non-empty ordered sequences you can form using each tile at most once. The trick that makes this clean is working with letter…

Loading…