• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

Tree

Diagonal Traversal of Binary Tree

February 23, 2018 by Dhaval Dave

Given a Binary Tree, print the diagonal traversal of the binary tree
Consider lines of slope -1 passing between nodes. Given a Binary Tree, print all diagonal elements in a binary tree belonging to same … Read More

Filed Under: Adobe Interview Questions, Amazon Interview Question, Interview Questions, Microsoft Interview Questions, Tree Tagged With: BFS, Binary Tree, tree

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

Regular Expression Matching

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Word Break Problem

Generate largest number arranging a no. of given non negative integer numbers

K’th Largest Element in BST when modification to BST is not allowed

LeetCode: Binary Tree Maximum Path Sum

Introduction To Number Theory ( Part 1 )

C++ OOPs Part2

Length of the longest substring without repeating characters

simple sql injection

Knight Tour Problem (Graph – Breadth First Search)

SAP Off Campus Hiring_ March 2015 Analytical Aptitude

Reversal of LinkedList

Add Sub Multiply very large number stored as string

Find next greater number with same set of digits

Get Minimum element in O(1) from input numbers or Stack

Amazon Interview Experience – SDE Chennai

Puzzle : 100 doors in a row Visit and Toggle the door. What state the door will be after nth pass ?

HackeEarth Flipkart’s Drone

VMWare Openings

write a c program that given a set a of n numbers and another number x determines whether or not there exist two elements in s whose sum is exactly x

BlueStone E-commerce Interview Experience

Find the element that appears once others appears thrice

SAP Off Campus Hiring_ March 2015 Computer Skills

Generic Object Oriented Stack with Template

Serialise Deserialise N-ary Tree

Skiing on Mountains Matrix

Minimum insertions to form a palindrome

System Design: Designing a LLD for Hotel Booking

Find Percentage of Words matching in Two Strings

Copyright © 2025 · Genesis Framework · WordPress · Log in