Aptitude & Competitive Programming Favourites Programs in C, C++, Java, and Python
Find Element Occurring Odd Number of Times
Find Single Number (XOR Trick)
Check for Power of Two
Count Set Bits
Largest Power of 2 Less Than N
XOR of All Elements
Detect Duplicate in O(1) space
Rearrange Array Alternating + and -
Convert Infix to Postfix
Evaluate Postfix Expression
Check Balanced Parentheses
Largest Histogram Area
Maximum Area in Binary Matrix
Next Greater Element
Trapping Rainwater
Minimum Platforms Required (Train Problem)
Merge Intervals
Activity Selection
Job Scheduling Problem
Josephus Problem
Leaders in Array
Social Plugin