To make this function iterative we will have to implement both the addition step and the remembering step. The standard way of implementing this is via a stack or queue:
path := "C:\\Users\\alice\\docs";
。爱思助手对此有专业解读
Kick off your Mar10 Day celebrations with savings of up to 90% on Nintendo Switch games
Further reading