Unverified Commit 4f4ed06d authored by hnczlsr's avatar hnczlsr Committed by GitHub
Browse files

add default return value to Two-Sum solution

parent 9c0eb9d4
...@@ -57,6 +57,7 @@ public: ...@@ -57,6 +57,7 @@ public:
record[nums[i]] = i; record[nums[i]] = i;
} }
return {};
} }
}; };
...@@ -66,4 +67,4 @@ public: ...@@ -66,4 +67,4 @@ public:
![](../../Pictures/qrcode.jpg) ![](../../Pictures/qrcode.jpg)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment