• 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

The greedy coins game Dynamic Programming

Common Ancestor in a Binary Tree or Binary Search Tree

Add Sub Multiply very large number stored as string

Printing each word reverse in string

Maximum size of square sub matrix with all 1’s in a binary matrix

25 horses 5 tracks Find 3 fastest puzzle

Closed Parentheses checker

In Given LinkedList Divide LL in N Sub parts and delete first K nodes of each part

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

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

Find and print longest consecutive number sequence in a given sequence in O(n)

Maximum difference between two elements s.t larger element appears after the smaller number

LeetCode: Container With Most Water

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

Sequence Finder Dynamic Programming

Serialise Deserialise N-ary Tree

FizzBuzz Solution C C++

Password Predictor

CodeChef’ RRCOPY

LeetCode: Binary Tree Maximum Path Sum

Sort an array according to the order defined by another array

Wrong Directions given find minimum moves so that he can reach to the destination

Find if two rectangles overlap

Trapping Rain Water

Find Pythagorean Triplets in an array in O(N)

Find loop in Singly linked list

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

SAP Off Campus Hiring_ March 2015 Sample Questions

Templates in C++

Find next greater number with same set of digits

Copyright © 2025 · Genesis Framework · WordPress · Log in