Hash Table
Link: https://leetcode.com/problems/two-sum/
Code:
containsKey(key)
returnstrue
if the map contains a mapping for the key.put(key, value)
inserts the key-value pair into the map.
Longest Substring Without Repeating Characters
See https://notes.jinjunliu.com/8_leetcode/8.2_string/#longest-substring-without-repeating-characters
Last updated