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
please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html
Name the different types of stl containers.
What do stl stand for?
What is a list in c++ stl?
Why should a c++ programmer be interested in stl?
When did c++ add stl?
Define stl.
In what scenario does the Logical file and Physical file being used?
How stl is different from the c++ standard library?
totoo po ba ang manga aliens!
How do you convert stl to steps?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
sir please send me bpcl previous question papers
Can we use stl in coding interviews?
What does stl stand for in basketball?