243. Shortest Word Distance

small data

time: O(n)

space: O(1)

Last updated

Was this helpful?