David Shiao

@_EJPvqM9TA2Jkx9Ev4avTg

Joined on May 8, 2023

  • contributed by <davidshiao55> 2025q1 測驗 1 實作 list_insert_before 函式,其中測試程式碼,測試插入鏈結串列的頭和尾且利用串列大小和出入數列的排列來檢查程式碼執行結果。 my_assert(list_size(&l) == N, "Final list size should be N"); size_t k = N - 1; list_item_t *cur = l.head; while (cur) {
     Like  Bookmark
  • contributed by < davidshiao55 > 開發環境 $ gcc --version gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 39 bits physical, 48 bits virtual
     Like  Bookmark
  • contributed by < davidshiao55 >
     Like  Bookmark