Sort the Elements
sort ( pos . begin ( ) , pos . end ( ) ) ; sort ( neg . begin ( ) , neg . end ( ) ) ; pos . sort ( function ( a , b ) { return a - b } ) ; neg . sort ( function ( a , b ) { return a - b } ) ; let l = - 1e8 , ans = 0 , r = 1e8 ;