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...

Convert the following infix expression to post fix notation
((a+2)*(b+4)) -1

Answer Posted / pavan

@ Revathy :
Postfix : AB+DC-*
Prefix : *+AB-DC

Best way to find Prefix adn post fix is to create a Binary
tree and do a pre-order traversal and post order traversal
on it.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a Stack and a Queue.

964


Give a real time example of stack

947


What are the drawbacks of array implementation of queue?

1144


How to sort 1 million floating point numbers?

1185


Can you sort a string?

790


What is internal and external sorting?

936


Why is treeset sorted?

988


Write an algorithm to check if there is a loop in a doubly linked list.

950


What is the difference between Array and LinkedList?

1012


What should be done in the base case for this recursive problem?

896


What does sorting an array do?

928


Write a code for dynamic allocation of array.

1049


Which sorting is worst?

996


What is bubble sort used for?

816


Can we insert null in list?

890