Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can someone help point out what I'm missing in my addIntToEndOfList function? In order for it to pass all the tests? Thanks PASSED: linkedListToString(list) PASSED:
Can someone help point out what I'm missing in my addIntToEndOfList function? In order for it to pass all the tests? Thanks
PASSED: linkedListToString(list) PASSED: list->head->data42 PASSED: list->tail->data 25 FAILED: list after adding 25 Expected: [42]-[571->I611->[25]-null Actual: [42]->[571->[611->null PASSED: list->head->data42 PASSED: list->tail->data 31 FAILED: ist after adding 31 Expected: [42]->[57]->[61]->[25]->[31]->null Actual: [42]->[57]->[61]->null PASSED: list->headNULL PASSED: list->tailNULL) PASSED: linkedListToString(list) PASSED PASSED: list->head->data7 PASSED PASSED: list->tail->data7) PASSED: list after adding 7 PASSED: list != NULL PASSED: list->headlist-tail hot 0. FAILED: ist after adding -6 Expected: [71->C-6]->null Actual: [71-null PASSED: PASSED: list->head->data7 PASSED PASSED: list-tail->data 6) Screen ShotStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started