LeetCode
Question
·
Mar 2020
·
Los Angeles
Linkedin | Phone | Shortest Word Distance
10 upvotes
2,855 views
2 replies
Question Details
Basically same as Given an array of string words, word A and word B. Return shortest distance between two words in the array. My solution is hashmap + two pointers. A bit...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Hash Table
Strings
Two Pointers
More from LinkedIn
Reddit
UPDATE: HR specialist viewed my linkedin profile after final interview?
Reddit
[Insights, advice, and my experience] Got offers from Zapier, Samsara, and PayPal
Reddit
Correlation to Hiring Manager viewing profile, and made a hire?
Reddit
Rejected from job and then got a request to chat over LinkedIn?
Reddit
What's the vibe?