• 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

HackeEarth Flipkart’s Drone

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

Trie Dictionary

Handle duplicates in Binary Search Tree

Check if an array has duplicate numbers in O(n) time and O(1) space

VMWare Openings

Client Server C program

Memory Efficient LinkedList

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

Amazon Interview Experience – SDE Chennai

Spanning Tree

Count number of ways to reach a given score in a game

Longest Increasing Subsequence

Find next greater number with same set of digits

Convert Decimal to Roman numbers / Romanizer HackerEarth Code

SAP Off Campus Hiring_ March 2015 Sample Questions

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

FizzBuzz Solution C C++

simple sql injection

Walmart Labs Interview Experience

How Radix sort works

Sequence Finder Dynamic Programming

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

Interfaces in C++ (Abstract Classes in C++)

Implement a generic binary search algorithm for Integer Double String etc

Advanced SQL Injection

Given a string, find the first character which is non-repetitive

Convert number to words java

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

Maximum occurred Smallest integer in n ranges

Copyright © 2025 · Genesis Framework · WordPress · Log in