human
Maximum number of overlapping Intervals | Function that prmaximum overlap among ranges.
variable to store the maximum count.
storing the x and y coordinates in data vector.
pushing the x coordinate.
pushing the y coordinate.
sorting of ranges.
Traverse the data vector to count number of overlaps.
if x occur it means a new range is added so we increase count.
if y occur it means a range is ended so we decrease count.
updating the value of ans after every traversal.
printing the maximum value.
Driver code"
Solution in Python:

=====
Write me a code to maximum number of overlapping Intervals and the other steps required?
assistant
#Here is code to maximum number of overlapping Intervals and the other steps required.
 def overlap ( v ) :
	ans = 0
	count = 0
	data = [ ]
	for i in range ( len ( v ) ) :
		data . append ( [ v [ i ] [ 0 ] , ' x ' ] )
		data . append ( [ v [ i ] [ 1 ] , ' y ' ] )
	data = sorted ( data )
	for i in range ( len ( data ) ) :
		if ( data [ i ] [ 1 ] == ' x ' ) :
			count += 1
		if ( data [ i ] [ 1 ] == ' y ' ) :
			count -= 1
		ans = max ( ans , count )
	print ( ans )
v = [ [ 1 , 2 ] , [ 2 , 4 ] , [ 3 , 6 ] ]
overlap ( v )