Representing the list may or may not matter for a specific algorithm, but what does a list has to do with a stack/queue?
printf 0 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
printf 0 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured Poster
printf 0 Newbie Poster
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured 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.