Articles about leetcode | UserComp.com

Leetcode 217: Contains Duplicate - Last Part Answer Not Working
Leetcode 217: Contains Duplicate - Last Part Answer Not Working

In this article, we will discuss the Leetcode 217 problem, which asks to determine if an integer array contains a value that appears at least twice. We will focus on the last part of the problem, where the answer is not working, and provide a solution that works for all cases.

Read More
Faster C++: Understanding Pointer Usage in Leetcode
Faster C++: Understanding Pointer Usage in Leetcode

Explore the impact of pointer usage on running time in Leetcode problems. Learn how (p==NULL) and (!p) can affect performance and when to use each. Improve your C++ skills and optimize your code.

Read More