• 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

Find min element in Sorted Rotated Array (With Duplicates)

N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks

LeetCode: Binary Tree Maximum Path Sum

CodeChef Code SGARDEN

Given a sorted array and a number x, find the pair in array whose sum is closest to x

Password Predictor

Binary Tree in Java

Circular Linked List

Maximum sum contiguous subarray of an Array

Printing each word reverse in string

Top 10 Interviews Techniqes for Campus Interview in IIT NIT BITS for MTech

Client Server C program

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

Connect n ropes with minimum cost

Walmart Labs Interview Experience

flattens 2 D linked list to a single sorted link list

Implement LRU Cache

Knight Tour Problem (Graph – Breadth First Search)

SAP Hiring Off-Campus General Aptitude

Find two non repeating elements in an array of repeating elements

Check a String is SUBSEQUENCE of another String Find Minimum length for that ( DNA Matching )

Find Percentage of Words matching in Two Strings

Reversal of LinkedList

‘N’ Story Building, with 1,2,3 steps how many ways can a person reach top of building.

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

Subset Sum Problem Dynamic programming

Flipkart Set 1 On Campus with Answers

Find the kth number with prime factors 3, 5 and 7

Binary Tree in Java

Maximum path sum between two leaves

Copyright © 2026 · Genesis Framework · WordPress · Log in