JavaByPatel: Data structures and algorithms interview questions in Java

Technical blog and complete tutorial on popular company interview questions with detailed solution and Java program on Data structure, Algorithms, Time and space complexity, Core Java, Advanced Java, Design pattern, Database, Recursion, Backtracking, Binary Tree, Linked list, Stack, Queue, String, Arrays etc asked in companies like Google, Amazon, Microsoft, Facebook, Apple etc. for beginners and professionals.

Wednesday, 30 November 2016

Print Nodes at K distance from Root in Binary Tree

›
Print nodes at K distance from root in binary tree. OR Print nodes at Level K. Given a Binary Tree, Print all Nodes that are at K distan...
Tuesday, 29 November 2016

Rotate matrix by 90 degree

›
Rotate matrix by 90 degree OR Turn an 2D array by 90 degree OR Rotate a two dimensional array OR Given N*M matrix, rotate it by 90 degr...
Monday, 28 November 2016

Rotate Matrix by 90 degrees clockwise Inplace

›
Rotate square matrix by 90 degrees Inplace OR Turn an 2D array by 90 degree OR Rotate a two dimensional array OR Given N*N matrix, rotat...
Thursday, 24 November 2016

Print Matrix in Spiral order using Recursion.

›
Print Matrix in Spiral order OR Given m*n matrix(m rows, n columns), print all elements of the matrix in spiral order OR Print two-dimens...
Wednesday, 23 November 2016

Print Matrix in Spiral form

›
Print Matrix in Spiral order OR Given m*n matrix(m rows, n columns), print all elements of the matrix in spiral order OR Print two-dimens...
Sunday, 20 November 2016

Transpose of Matrix Inplace

›
Transpose of Matrix In-place You are given a M * N matrix, find Transpose of Matrix in-place. Transpose of matrix is obtained by inter...
Saturday, 19 November 2016

Transpose of Matrix in Java

›
Transpose of Matrix in Java You are given a M * N matrix, find Transpose of Matrix. Transpose of matrix is obtained by interchanging r...
Friday, 18 November 2016

Implement Queue using One Stack in Java (Recursive Implementation)

›
Implement Queue using One Stack in Java You are given a Stack data structure that supports standard push and pop operations. You need t...
Thursday, 17 November 2016

Implement Queue using Stack

›
Implement Queue using Stack in Java You are given a Stack data structure that supports standard push and pop operations. You need to im...
Wednesday, 16 November 2016

Download binary file AngularJS + REST service

›
Download binary file using AngularJS + REST service Many a times we need to download file via POST request, because the request contai...
‹
›
Home
View web version
Powered by Blogger.