problem
1346. Check If N and Its Double Exist
solution1: two loop;
code
solution2:哈希表;
code
solution3: 使用set类型;
code
注意:
1. 倍数可能在后,也可能在前;
2. 熟练掌握map和set的使用方法;
参考
1. leetcode_1346. Check If N and Its Double Exist;
完
【leetcode_easy_array】1346. Check If N and Its Double Exist
阅读 63
2022-07-13
problem
1346. Check If N and Its Double Exist
solution1: two loop;
code
solution2:哈希表;
code
solution3: 使用set类型;
code
注意:
1. 倍数可能在后,也可能在前;
2. 熟练掌握map和set的使用方法;
参考
1. leetcode_1346. Check If N and Its Double Exist;
完
相关推荐
精彩评论(0)