can anyone help me in this linked list please
am bit confused
1. get_data: This function finds the data stored in the specified row and column of a 2
dimensional linked list. If data retrieval was successful return true otherwise return
false. The prototype is given below:
template <class T>
bool get_data(int row, int col, T& data);
template <class T>
bool linkedlist_2d<T>::get_data(int row, int col, T & data){
bool bsuccess;
???????????????
return bsuccess;
}
2. update_data: This function updates the data located in the specified row and column of
a 2 dimensional linked list. As above, return true if data update is successful and return
false otherwise. The prototype is given below. Note that const argument indicates that
the value will not change inside the function. This is a good programming practice.
template <class T>
bool update_data(int row, int col, const T data);
template <class T>
bool linkedlist_2d<T>::update_data(int row, int col, const T data){
bool bsuccess;
??????????????
return bsuccess;
}
3. insert_data: This function inserts a data within the existing locations of a 2
dimensional linked list. For example, if your linked list has 2 rows with 3 columns in
the first row and 4 columns in the second row then this function should return false if
user wants to fill data in 2nd row and 5th column. The prototype is given below:
template <class T>
bool insert_data(int row, int col, const T data);
i have done all the other functions except this one's
i don't know how to complete
help please
template <class T>
bool linkedlist_2d<T>::insert_data(int row, int col, const T data){
bool bsuccess;
?????????????
return bsuccess;
}