Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 344 Weeks Ago, 4 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Computer Science Posted 25 Apr 2017 My Price 3.00

Describe an algorithm for counting

Describe an algorithm for counting the number of left external nodes in a binary tree. Then describe an algorithm for counting the number of right external nodes in a binary tree. I need two separate algorithms. Psuedocode would even be acceptable :)

 

 

Aug 19 2015 11:19 AM

Answers

(8)
Status NEW Posted 25 Apr 2017 10:04 AM My Price 3.00

-----------

Attachments

file 1493116090-Answer.docx preview (129 words )
D-----------esc-----------rib-----------e a-----------n a-----------lgo-----------rit-----------hm -----------for----------- co-----------unt-----------ing----------- th-----------e n-----------umb-----------er -----------of -----------lef-----------t e-----------xte-----------rna-----------l n-----------ode-----------s i-----------n a----------- bi-----------nar-----------y t-----------ree-----------. T-----------hen----------- de-----------scr-----------ibe----------- an----------- al-----------gor-----------ith-----------m f-----------or -----------cou-----------nti-----------ng -----------the----------- nu-----------mbe-----------r o-----------f r-----------igh-----------t e-----------xte-----------rna-----------l n-----------ode-----------s i-----------n a----------- bi-----------nar-----------y t-----------ree-----------. I----------- ne-----------ed -----------two----------- se-----------par-----------ate----------- al-----------gor-----------ith-----------ms.----------- Ps-----------ued-----------oco-----------de -----------wou-----------ld -----------eve-----------n b-----------e a-----------cce-----------pta-----------ble----------- :)----------- ----------- -----------Ans-----------wer-----------: -----------Alg-----------ori-----------thm-----------: ----------- in-----------ser-----------t (-----------key-----------, v-----------alu-----------e) -----------Inp-----------ut:----------- ke-----------y-v-----------alu-----------e p-----------air----------- if----------- tr-----------ee -----------is -----------emp-----------ty -----------cre-----------ate----------- ne-----------w r-----------oot----------- wi-----------th -----------key------------va-----------lue----------- pa-----------ir;----------- re-----------tur-----------n e-----------ndi-----------f /-----------/ O-----------the-----------rwi-----------se -----------use----------- re-----------cur-----------siv-----------e i-----------nse-----------rti-----------on -----------roo-----------t =-----------
Not Rated(0)