You are on page 1of 1

Assignment 4, ESO 207A/ESO211

Q1.Implementthemultiplicationoperationontwolargenumbersusinglinkedlists.Thelarge numberscouldbeintherange2^(499)to2^exp(+499)infactthereshouldbeanylimiton thesizeofthenumbers. (HINT:Treatthenumbersasabinarystringstoredinalinkedlist.Itmayhelptoknowwhatthe leftshiftandtherightshiftoperationsdo.Youmaydoitusinganymethodyoulikebutit shouldonlyuselinkedlists.). Theprogramshouldtaketwonumbersasinputandthenprintthebinarystringoftheoutcome. Q2.Implementaqueueusingjuststacks.ThefinaldatastructureshouldbehaveEXACTLYlike aqueue. SinceitsagroupAssignment,onlyoneofthemembershastosubmitit.Submitbothofyour programsaseditablefilesina.zipformatwithpropernamingconvention.Eg:ForgroupA6,it shouldbeGroupA6_A4.zipwhichwillcontainpart1.candpart2.c

You might also like