Why am I getting “addresssanitizer deadly signal” while trying to operate on linked lists?

前端 未结 0 1236
生来不讨喜
生来不讨喜 2021-02-06 18:14

I\'m having some problems wrapping my head around struct pointers in this exercise.

The ListNode looks like this:

struct ListNode {
    int val;
    struct         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题