CKChandhini Kinchandhini.hashnode.dev·Oct 11, 2023 · 5 min readSolving the "Contains Duplicate" LeetCode Problem in PythonThe "Contains Duplicate" problem is a common coding challenge found on LeetCode and in technical interviews. It requires determining whether an array contains any duplicate elements. In this blog post, we'll explore different approaches to solving th...00
CKChandhini Kinchandhini.hashnode.dev·Oct 10, 2023 · 8 min readSolving the "Two Sum" Problem: Brute Force, Better, and Optimal Solutions in PythonThe "Two Sum" problem is a classic coding interview question frequently encountered in technical interviews. It tests your ability to find two numbers in an array that add up to a specific target. In this blog post, we'll explore three different appr...00