FresherFresher (0–1 yrs)CodingPythonAmazonGoogleMicrosoft
Two Sum coding interview
Solve Two Sum: return indices of two numbers that add to target. Explain time/space and edge cases.
Answers use simple, clear English.
Time: O(n)Space: O(n)
Confidence
#dsa#hashmap#two-sum