• 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

Stickler thief

Binary Tree Isomorphic to each other

Apriori algorithm C Code Data Mining

Implement LRU Cache

Inorder and Preorder traversals of a Binary Tree given. Output the Postorder traversal of it.

Reverse a Linked List in groups of given size

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

flattens 2 D linked list to a single sorted link list

C++ OOPs Part2

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

HackeEarth Flipkart’s Drone

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 ?

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

Find Percentage of Words matching in Two Strings

Binary Tree in Java

Fibonacci Hashing & Fastest Hashtable

The greedy coins game Dynamic Programming

25 horses 5 tracks Find 3 fastest puzzle

Flipkart SDET Interview Experience

Python Array String

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

Knight Tour Problem (Graph – Breadth First Search)

Linked List V/S Binary Search Tree

Generate next palindrome number

FizzBuzz Solution C C++

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 String and numbers

simple sql injection

How Radix sort works

CodeChef’ RRCOPY

Copyright © 2025 · Genesis Framework · WordPress · Log in