mirror of
https://github.com/Xevion/leetcode.git
synced 2025-12-06 07:15:22 -06:00
Add imports for Java solutions
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
// Memory Usage: 39.7 MB
|
||||
// Submitted: January 12th, 2021
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
class Solution {
|
||||
public int[] twoSum(int[] nums, int target) {
|
||||
Map<Integer, Integer> map = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user