Web Rewrite
Technology Blog Where You Find Programming Tips and Tricks
  Menu
Skip to content
  • Home
  • Java
  • Programming Questions
    • Array
    • Linked List
    • Stack
    • Queue
    • String
    • Search Algo
    • Interview Questions
  • Solid Principles
  • Multithreading
  • PHP
  • Database
    • mysql
    • MongoDB
  • Contact Us

Tag Archives: Tree

Find the Maximum Element in a Binary Tree without using Recursion

By WebRewrite | October 13, 2019 - 9:55 am |October 13, 2019 Data Structure, InterviewQuestions, Java, programming
Leave a comment

Given a binary tree, find the maximum element in it. In this tutorial, we are going to write a code to find the maximum element in a binary tree without using recursion.

For example:

In this binary tree, the maximum element is 9.

→
Tagged Binary Tree, Tree
  • Support Me on PayPal

    Programming Video Tutorials


  • Related Posts (YARPP)

    1. Race Condition in Java: Causes, Examples, and Solutions
    2. Find Second Largest Number in Array
    3. Check Balanced Parentheses in an Expression
    4. Sum of Digits of a Number using Recursion – Java Code
  • Topics

    • Multithreading

    • Linked List

    • Binary Tree

    • Hash Map

    • Java

    • Queue

    • Stack

    • Binary Search

    • Programming

    • Sliding Window

    • Composer

    • Memcache

    • Javascript

    • Solid Principles

  • Copyright 2020 – 2021 – webrewrite.com – All Rights Reserved.

  • Home
  • Java
  • Programming Questions
  • Solid Principles
  • Multithreading
  • PHP
  • Database
  • Contact Us
Web Rewrite | Powered by Mantra & WordPress.