Assume I have a linked list contains all of the alphabets
from "A" to "Z?" I want to find the letter "Q" in the list,
how does you perform the search to find the "Q?"
Answer Posted / bharghavi
for(currnode=head;currnode!=null;currnode=currnode->next)
{
if(currnode->data=='Q')
cout<<"element found";
}
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the various types of stl containers?
What is stl in oop?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
totoo po ba ang manga aliens!
What are the symptoms of stl?
In what scenario does the Logical file and Physical file being used?
Define stl.
sir please send me bpcl previous question papers
Is stl open source?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
What is a stl vector?
What are the components of stl?
Who created stl?
Name the different types of stl containers.
how to making game in c++ ?