常見算法筆試或面試題

Problem 1 : Is it a loop ? (判斷鏈表是否有環?)算法 Assume that wehave a head pointer to a link-list. Also assumethat we know the list is single-linked. Can you come up an algorithm to checkwhether this link lis
相關文章
相關標籤/搜索