I need to write a function that traverses a general list and deletes all nodes that are after a node with a negative key.
But I dont know where to start so can I get some help
Salem 5,248 Posting Sage
yasaswyg -4 Light Poster
Salem 5,248 Posting Sage
yasaswyg -4 Light Poster
Salem 5,248 Posting Sage
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Salem commented: Dunno, early identification of idiots is kinda useful ;) +36
yasaswyg -4 Light Poster
yasaswyg -4 Light Poster
Hiroshe 499 Posting Whiz in Training
9868 35 Light Poster
abhi.navale 0 Light Poster
yellowSnow 607 Posting Whiz in Training
tux4life commented: I couldn't have said it better :) +20
yasaswyg -4 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.