• 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

C Program for TAIL command of UNIX

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

simple sql injection

Best Java Book | Top Java Programming Book for Beginners

Mirror of Tree

Print Power Set of a Set

DFS (Depth First Search)

Closed Parentheses checker

How strtok() Works

Stock Buy Sell to Maximize Profit

Handle duplicates in Binary Search Tree

Implement LRU Cache

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

Coin Collection Dynamic Programming

Introduction To Number Theory ( Part 1 )

Amazon Interview On-Campus For Internship – 1

Binary Tree Isomorphic to each other

25 horses 5 tracks Find 3 fastest puzzle

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

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

BFS (Breath First Search)

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

strtok()

VMWare Openings

Given a float number convert it into the string WITHOUT using any inbuilt Function

Code Chef PRGIFT Solution

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

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

Client Server C program

building with N steps, we can take 1,2,3 steps calculate number of ways to reach at top of building

Copyright © 2026 · Genesis Framework · WordPress · Log in