Binary tree

Binary tree

A binary tree is a data structure in computer science where each node can have at most two children. It can be defined recursively as a tuple with left and right binary trees or the empty set, with the root being a singleton set. Binary trees can also be seen as arborescences in graph theory or as ordered, rooted trees. The definition of a binary tree can vary among authors, with some requiring every non-leaf to have exactly two children and others not necessarily ordering the children. Binary trees are used in computing for various purposes.

2 courses cover this concept

CSCI 0112 - Computing Foundations: Program Organization

Brown University

Fall 2022

CSCI 0112 progresses from CSCI 0111, focusing on structuring programs for solving isolated subproblems. It delves into various algorithms, implementations from abstract descriptions, data organization methods, and program efficiency. Ethical considerations in software development are underscored. Topics include data structures, OOP, web APIs, machine learning, and more.

No concepts data

+ 25 more concepts

CSE 143 Computer Programming II

University of Washington

Summer 2022

This course is a continuation of CSE 142, focusing on manipulating data, implementing data structures, and learning about algorithms in Java. It delves into abstract data types, recursion, inheritance, and more.

No concepts data

+ 34 more concepts