MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

CPP/arrays/Two sum 2/twoSum.cpp:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 return res;
21}
22int main(){
23
24 vector<int> numbers({2,3,4});
25 int target = 6;
26 vector<int> res = twoSum(numbers,target);
27 for(auto x:res)
28 cout<<x<<endl;
29 return 0;
30}

Callers

nothing calls this directly

Calls 1

twoSumFunction · 0.85

Tested by

no test coverage detected