• 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

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 ?

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

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

C Program for TAIL command of UNIX

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

Find Nearest Minimum number in left side in O(n)

SAP Hiring Off-Campus General Aptitude

Reliance Jio Software Developer Interview Experience

How strtok() Works

LeetCode : Word Search

Templates in C++

Walmart Labs Interview Experience

System Design: Designing a LLD for Hotel Booking

Sequence Finder Dynamic Programming

TicTacToe Game As Asked in Flipkart

Facebook Interview Question : Interleave List

Find min element in Sorted Rotated Array (With Duplicates)

Generate next palindrome number

Level order traversal in Spiral form

Knight Tour Problem (Graph – Breadth First Search)

Naurki.com Security Breach

Memory Efficient LinkedList

Add Sub Multiply very large number stored as string

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

25 horses 5 tracks Find 3 fastest puzzle

Sort an array according to the order defined by another array

Generic Object Oriented Stack with Template

SAP Off Campus Hiring_ March 2015 Computer Skills

Adobe Interview Questions 8 month Exp

VMWare SDEII Interview

Copyright © 2026 · Genesis Framework · WordPress · Log in