Daily Archives: February 10, 2020

Linked list 2013

Write an Algorithm OR a Method to count the number of nodes in the linked list The ,ethod declaration is given below: int count (Node prt-start) Algorithm to count the number of nodes in a linked list Steps Start Set … Continue reading

Posted in Linked list | Leave a comment

Linked List 2014

A linked list is formed from the objects of the class class Node { int number; Node nextNode; } Write an Algoritm OR a Method to add a node at the end of an existing liked list The method declaration … Continue reading

Posted in Linked list | Leave a comment

Infix to postfix 2014

Convert the following infix expression into its postfix form (A/B+C) * (D/(E-F)) =(A/B+C) (D/(E-F))* =(AB/+C) (D/(EF-))* =(AB/C+) (DEF-/)* =AB/C+DEF-/*

Posted in infix | Leave a comment

Infix to postfix 2013

convert the following infix notation to its postfix formE * (F / (G – H) * I) + J = E *(F / GH – *I) + J= E * FGH – / * + J= EFGH – / I … Continue reading

Posted in infix | Leave a comment

Infix to postfix 2012

Convert the following infux notation to its postfix form A (B + C) + (D + E) * F) / G = A + (BC++DE + *F) / G =A +(BC+ +DE + F*) /G = A + BC + … Continue reading

Posted in infix | Leave a comment