Inversion Count In Leetcode Two Robots At The End Of A Bar