Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Tree height

ThemisThemis Member Posts: 73
I think I 've really stack in a simple operation. I want to make a function that will count the height of a node in a tree but I 'm stack. I can't think of anything, can you guys help me? The height is the longest path to the leaves going from node x to a leaf-successor of it.

Thanks, Themis

Comments

  • Andre YoungAndre Young USAMember Posts: 0

    _____ // http://forcoder.org // free video tutorials and ebooks about \ Scratch Ruby Assembly C JavaScript Visual Basic C++ PL/SQL Objective-C Perl PHP R C# Visual Basic .NET Java Delphi Python Go Swift MATLAB Fortran Bash Scala Logo FoxPro Lua ML Apex Scheme LabVIEW D Prolog Transact-SQL COBOL ABAP Crystal Ada Alice Clojure Awk Kotlin F# Dart Lisp Julia Erlang Rust Hack VBScript SAS \ _________

Sign In or Register to comment.