# INTERVIEW

## Mislabeled Boxes | Puzzle

There are three boxes, one contains only apples, one contains only oranges, and one contains both apples and oranges. The boxes have been incorrectly labeled such that no label identifies the actual contents of the box it labels. Opening just one box, and without looking in the box, you take [...]

2020-03-15T11:15:52+05:30Categories: Puzzles|Tags: |

## Weighing 9 Balls | Puzzle

You have given a two-arm balance scale and 9 identical looking balls. One of the ball is of different weight (heavier) than rest of the 8 balls. Find out the heavier weight ball by using two arm balance scale. You could use a pair of balance scales only twice. Solution [...]

2020-03-01T18:38:34+05:30Categories: Puzzles|Tags: |

## Software Interview questions : Set 34

Shortest possible combination of two stringsPrinting Longest Bitonic SubsequenceFind longest sequence formed by adjacent numbers in the matrixA matrix probability questionFrequency of a substring in a string3-Partition ProblemCollect maximum points in a grid using two traversalsFind number of days between two given datesData structure to set all values in O(1)Printing [...]

2020-05-14T13:14:48+05:30Categories: Interview|Tags: |

## What to Ask in an Interview

There’s no clear cut between good and bad questions, it’s always case by case. You might ask Bi-directional decision You should always keep in mind that the company hiring process is a bi-directional decision. You are evaluated by the interviewer in the interview and at the same time you are [...]

2019-11-29T20:24:11+05:30Categories: Interview|Tags: |

## Common HR Interview Questions

What are your strengths and weaknesses? When addressing questions about your strengths, focus on strengths you have that are required for the job. For example, if a job requires a lot of work on team projects, you might say that you are a clear communicator who can work with diverse [...]

2019-11-29T20:22:10+05:30Categories: Interview|Tags: |

## Software Interview questions : Set 18

Interval Selection Check whether a given graph is Bipartite or not Palindromic Substrings Floyd Warshall Algorithm Dijkstra’s shortest path algorithm Subsets Print all paths from a given source to a destination New Year Chaos Minimum number of swaps required to sort an array Next Greater Element II Find maximum of [...]

2024-05-15T19:54:50+05:30Categories: Interview|Tags: |

## Software Interview questions : Set 16

Count set bits in an integer Find a triplet such that sum of two equals to third element Set Matrix Zeroes Group Anagrams Find a peak element Search for a Range Search a 2D Matrix II Jump Game Coin Change Design a data structure that supports insert, delete, search and [...]

2018-07-06T23:15:55+05:30Categories: Interview|Tags: |

## Software Interview questions : Set 15

Print maximum number of A’s using given four keys Explanation : To print maximum number of As using four keys of special keyboardLength of the longest substring without repeating charactersMaximum difference between node and its ancestor in Binary TreeGiven a number, find the next smallest palindromeConstruct Complete Binary Tree from [...]

2020-04-25T19:12:36+05:30Categories: Interview|Tags: |

## Software Interview questions : Set 14

Find the first circular tour that visits all petrol pumps Power Set Find all distinct subsets of a given set Printing Longest Common Subsequence Optimal Strategy for a Game Reference :- Coins in a Line Minimum insertions to form a palindrome Maximum sum rectangle in a 2D matrix Reference :- [...]

2017-12-09T13:18:30+05:30Categories: Interview|Tags: |

## Software Interview questions : Set 13

Construct Binary Tree from given Parent Array representation Calculate XOR from 1 to n Connect Nodes at same Level Flatten Binary Tree to Linked List Clone a linked list with next and random pointer in O(1) space Detect cycle in an undirected graph Delete nodes which have a greater value [...]

2018-08-05T13:09:26+05:30Categories: Interview|Tags: |
Go to Top