Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

which container (Qvector or QList) is good to use for insert, delete, and access the last element.