In order to practise the c++ coding ability and have a prepare for the
work interview for the future.I start to do the leetcode in the
leisure time.Before that I introduce a code comparing tools: Beyond
Compare
Beyond Compare
Home Page
It is a tool for folder and file comparing, which useful for coding
compare as well. For now, it provides all the OS version including
WINDOWS, LINUX and MAC.
LeetCode1 Two Sum
Ques:Given an array of integers, return indices of the two numbers such
that they add up to a specific target.
You may assume that each input would have exactly one solution.