Solved a Biweekly contest problem today....Minimum Absolute Difference Between Two Values.
O(N) approach: just track latest index of 1 & 2 and keep updating the min difference.
Pretty straightforward, give it a try 👀 #softwareengineering #leetcode #dsa #codinga

1
2



