Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?"

Answers were Sorted based on User's Feedback



Assume I have a linked list contains all of the alphabets from "A" to "Z?" I w..

Answer / bharghavi

for(currnode=head;currnode!=null;currnode=currnode->next)
{
if(currnode->data=='Q')
cout<<"element found";
}

Is This Answer Correct ?    6 Yes 0 No

Assume I have a linked list contains all of the alphabets from "A" to "Z?" I w..

Answer / tutum

by using find() function..u can find "Q"...
regards
tutum

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More STL Interview Questions

Name the different types of stl containers.

0 Answers  


What is stl in oop?

0 Answers  


tell about sorted linked list

1 Answers  


why & sign is used in copy constructor

4 Answers  


c# support late binding or early binding.

6 Answers  


Explain how to insert a hyperlink in to an Excel worksheet and save a Word document as a Web page.

1 Answers  


What do stl stand for?

0 Answers  


What is Constructor

14 Answers   Angel Broking,


What is stl stack?

0 Answers  


differentiate between private, public and protected data members of the class using example.

1 Answers  


WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++

1 Answers   Syntel,


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

0 Answers   Appin, NIIT,


Categories