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 [...]

By |2020-03-15T11:15:52+05:30March 1st, 2020|Categories: 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 [...]

By |2020-03-01T18:38:34+05:30March 1st, 2020|Categories: 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 [...]

By |2020-05-14T13:14:48+05:30February 6th, 2020|Categories: 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 [...]

By |2019-11-29T20:24:11+05:30May 22nd, 2019|Categories: 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 [...]

By |2019-11-29T20:22:10+05:30January 17th, 2019|Categories: 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 [...]

By |2018-09-09T21:18:46+05:30August 2nd, 2018|Categories: 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 [...]

By |2018-07-06T23:15:55+05:30June 15th, 2018|Categories: 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 [...]

By |2020-04-25T19:12:36+05:30November 22nd, 2017|Categories: 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 :- [...]

By |2017-12-09T13:18:30+05:30November 10th, 2017|Categories: Interview|Tags: |
Go to Top