You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all we sort it and then we just check the (nums//2-1)th and (nums//2)th value and return it's value of difference. This is the simplest approach we can use.