• 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

Trapping Rain Water

Find the number ABCD such that when multipled by 4 gives DCBA.

Leetcode: Merge Intervals

Binary Tree in Java

Maximum path sum between two leaves

Word Break Problem

Given array of 0’s and 1’s. All 0’s are coming first followed by 1’s. find the position of first 1

Python Dictionaries

Python Array String

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

C++ OOPs Part2

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

VMWare SDEII Interview

Introduction To Number Theory ( Part 1 )

Rectangular chocolate bar Create at least one piece which consists of exactly nTiles tiles

Maximum sum contiguous subarray of an Array

25 horses 5 tracks Find 3 fastest puzzle

Maximum occurred Smallest integer in n ranges

Get K Max and Delete K Max in stream of incoming integers

Level order traversal in Spiral form

Common Ancestor in a Binary Tree or Binary Search Tree

FizzBuzz Solution C C++

Binary Tree in Java

Trie Dictionary

Find the smallest window in a string containing all characters of another string

Urban Ladder Written Test.

Max Sum in circularly situated Values

robot standing at first cell of an M*N matrix. It can move only in two directions, right and down. In how many ways, it can reach to the last cell i.e. (M, N) Code it

Walmart Labs Interview Experience

Advanced SQL Injection

Copyright © 2026 · Genesis Framework · WordPress · Log in