• 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

Connect n ropes with minimum cost

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

Count number of ways to reach a given score in a game

Number of Islands BFS/DFS

Minimum insertions to form a palindrome

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

SAP Off Campus Hiring_ March 2015 Sample Questions

Practo Hiring Experience

DFS (Depth First Search)

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

Given Set of words or A String find whether chain is possible from these words or not

flattens 2 D linked list to a single sorted link list

The Magic HackerEarth Nirvana solutions Hiring Challenge

LeetCode: Binary Tree Maximum Path Sum

TicTacToe Game As Asked in Flipkart

C Program for TAIL command of UNIX

VMWare Openings

SAP Interview Questions

Python Array String

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

HackeEarth Flipkart’s Drone

Hackerearth : Counting Subarrays

Test Cases for Round Function

strtok()

Flipkart Set 1 On Campus with Answers

Subset Sum Problem Dynamic programming

Serialise Deserialise N-ary Tree

Print all nodes that are at distance k from a leaf node

Advanced SQL Injection

Printing Longest Common Subsequence

Copyright © 2025 · Genesis Framework · WordPress · Log in