📅  最后修改于: 2022-03-11 14:48:53.585000             🧑  作者: Mango
//ll is the LinkedList
//using System.Linq
foreach(string item in ll.ToArray()){ll.AddFirst(item);ll.RemoveLast();}
//without using System.Linq
List lll = new List(ll);
for(int i=0;i