C_Array_Programming_100_Questions
C_Array_Programming_100_Questions
9. Reverse an array.
33. Find the subarray with the maximum sum (Kadane's Algorithm).
38. Find the majority element (appears more than n/2 times).
40. Find the element that appears only once when all others appear twice.
66. Find the longest contiguous subarray with all distinct elements.
89. Check if array can be divided into three parts with equal sum.
90. Find all elements that appear more than n/3 times.