mirror of
https://gitee.com/TheAlgorithms/LeetCodeAnimation.git
synced 2024-12-06 15:19:44 +08:00
Merge pull request #93 from underspirit/bugfix-1
Add default return value to Two-Sum solution
This commit is contained in:
commit
8989334d7b
@ -57,6 +57,7 @@ public:
|
||||
|
||||
record[nums[i]] = i;
|
||||
}
|
||||
return {};
|
||||
}
|
||||
};
|
||||
|
||||
@ -66,4 +67,4 @@ public:
|
||||
|
||||
|
||||
|
||||
![](../../Pictures/qrcode.jpg)
|
||||
![](../../Pictures/qrcode.jpg)
|
||||
|
Loading…
Reference in New Issue
Block a user