On the study of the running maximum and minimum level of level-dependent quasi-birth–death processes and related models. (19th March 2023)