0:00 - Understanding the problem
0:12 - Understanding an example
0:32 - Brute force solution of 2 sums
0:57 - Optimised solution of 2 sums
This question is asked by Google, Microsoft, Adobe, Amazon and many more.
You'll learn both approaches brute-force and optimised.
Leetcode #1: Two sums [https://leetcode.com/problems/two-sum/]
Solution source code: [https://github.com/RikamPalkar/DSA-Simplified/blob/main/LeetCode/1.TwoSums.cs]
🌐 Explore more about me:
🔗 Personal Website: [https://rikampalkar.github.io]
🔗 LinkedIn: [https://www.linkedin.com/in/rikampalkar/]
📚 Discover my book on Amazon:
🔗 Blazor Simplified: [https://www.amazon.in/dp/B0CBCKB32W?ref_=cm_sw_r_cp_ud_dp_1XGFMN7DHGSTBV3K8C49]
📝 Read my articles on Medium and CSharpCorner:
🔗 Medium: [https://medium.com/@RikamPalkar]
🔗 CSharpCorner: [https://www.c-sharpcorner.com/members/rikam-palkar]
Download
0 formats
No download links available.
2 sums in 2 mins | Google, Amazon, Adobe | NatokHD