
    Given a list of active ride requests where each request contains a rider ID and their current waiting time in minutes, find and return the ID of the rider who has been waiting the shortest time in the system. This prioritization helps ensure fair and efficient rider-driver matching in the ride-sharing platform.
    

    
from operator import itemgetter

def index_minimum(test_list):
    """
    Given a list of active ride requests where each request contains a rider ID and their current waiting time in minutes, find and return the ID of the rider who has been waiting the shortest time in the system. This prioritization helps ensure fair and efficient rider-driver matching in the ride-sharing platform.
    

    """
from operator import itemgetter

def index_minimum(test_list):
    """
    Given a list of active ride requests where each request contains a rider ID and their current waiting time in minutes, find and return the ID of the rider who has been waiting the shortest time in the system. This prioritization helps ensure fair and efficient rider-driver matching in the ride-sharing platform.
    

    """
    res = min(test_list, key=itemgetter(1))[0]
    return res