Skip to content

takeUforward

Change Theme
Change Theme
Get 1:1 Mentorship
  • Striver’s DSA Sheets
    • Strivers A-Z DSA Course
      (Absolute beginner)
    • Strivers SDE Sheet
      (For anyone who knows DSA)
    • Strivers 79 Sheet
      (For anyone with minimal time for interviews)
  • Striver’s DSA Playlists
    • Patterns (Beginner)
    • Arrays Series
    • Tree Series
    • Graph Series
    • DP Series
    • Linked List
  • System Design
  • CS Subjects
    • SDE Core Sheet
    • Operating Systems
    • Computer Networks
  • Interview Prep Sheets
    • Blind 75
    • TCS NQT Coding Sheet
    • Interview Experience
    • Interview Prep Roadmap
  • Striver’s CP Sheet

Category: Binary Tree

December 6, 2021 Binary Tree / Data Structure

Morris Preorder Traversal of a Binary Tree

Problem Statement: Morris Preorder Traversal of a Binary tree. Given a Binary Tree, find the Morris preorder traversal of Binary

Continue reading
December 6, 2021 Binary Tree / Data Structure

Lowest Common Ancestor for two given Nodes

Problem Statement: Given a binary tree, Find the Lowest Common Ancestor for two given Nodes (x,y). Lowest Common Ancestor(LCA): The

Continue reading
December 4, 2021 Binary Tree / Data Structure

Level Order Traversal of a Binary Tree

Problem Statement: Level order traversal of a binary tree. Given the root node of the tree and you have to

Continue reading
December 4, 2021 Binary Tree / Data Structure / Recursion

Inorder Traversal of Binary Tree

Problem Statement: Given a Binary Tree. Find and print the inorder traversal of Binary Tree. Examples: Input: Output: The inOrder

Continue reading
December 4, 2021 Binary Tree / Data Structure

Maximum Sum Path in Binary Tree

Problem Statement: Write a program to find the maximum sum path in a binary tree. A path in a binary

Continue reading
December 4, 2021 Binary Tree / Data Structure

Zig Zag Traversal Of Binary Tree

Problem Statement: Given the root of a binary tree, return the zigzag level order traversal of Binary Tree. (i.e., from

Continue reading
December 2, 2021 Binary Tree / Data Structure

Serialize And Deserialize a Binary Tree

Problem Statement: Design an algorithm to serialize and deserialize a binary tree. There is no restriction on how your serialization/deserialization

Continue reading
December 2, 2021 Binary Tree / Data Structure / Recursion

Check if two trees are identical

Problem Statement: Given two Binary Tree. Write a program to check if two trees are identical or not. Example 1: Input:

Continue reading
December 1, 2021 Binary Tree / Data Structure

Preorder Traversal of Binary Tree

Problem Statement: Given a binary tree print the preorder traversal of binary tree. Example: Solution: Disclaimer: Don’t jump directly to

Continue reading
November 29, 2021 Binary Tree / Data Structure

Bottom view of a Binary Tree

Problem Statement: Given a binary tree, print the bottom view from left to right. A node is included in the

Continue reading

Posts navigation

«Previous Posts 1 2 3 4 Next Posts»

Latest Video on takeUforward
Latest Video on Striver

Recent Posts

  • Top LinkedList Interview Questions – Structured Path with Video Solutions
  • Insert before the node with Value X of the Linked List
  • Insert before the Kth element of the Linked List
  • Insert at the head of a Linked List
  • Delete the node with value X of a Linked List

TUF Logo

Don't have an account?

TUF Logo

Already have an account?

Company tags

0/4000

Company yt-sol

takeUforward
The best place to learn data structures, algorithms, most asked
coding interview questions, real interview experiences free of cost.
Follow Us
DSA Playlist Array Series Tree Series Graph Series DP Series
DSA Sheets Striver’s SDE Sheet Striver’s A2Z DSA Sheet SDE Core Sheet Striver’s CP Sheet
Contribute Write an Article
Copyright © 2023 takeuforward | All rights reserved