Tech Interview

A site for technical interview questions, brain teasers, puzzles, quizzles (whatever the heck those are) and other things that make you think!

    • 23 Sep 2016

      Serialize and Deserialize a Binary Tree

      Posted at 6:50 pm by Keisha l, on September 23, 2016

      Write code to serialize and deserialize a given binary tree.

      0 Comments
      Posted in Uncategorized
    • 23 Sep 2016

      Compute X^Y For Floats and Negative Values

      Posted at 6:47 pm by Keisha l, on September 23, 2016

      How will you compute x^y such that it will work for floats and negative values?

      0 Comments
      Posted in Uncategorized
    • 23 Sep 2016

      Reverse a doubly linked list

      Posted at 6:46 pm by Keisha l, on September 23, 2016

      How can you reverse a double linked list?

      0 Comments
      Posted in Uncategorized
    • 23 Sep 2016

      Sum Up a Pair in Array

      Posted at 6:45 pm by Keisha l, on September 23, 2016

      Can you find a pair in array that will sum up to particular number?

      0 Comments
      Posted in Uncategorized
    • 20 Jul 2016

      paradox dragon

      Posted at 2:37 pm by Admin, on July 20, 2016

      I met three dragons. One always tells the truth, other one always lies and the last one alternates between lie and truth.

      Dragon 1: You may ask us one question, then you must guess which dragon is which

      Dragon 2: He’s lying. You may get three questions

      Dragon 3: Oh no. It’s definitely one question

      0 Comments
      Posted in Uncategorized
    • 22 Jun 2016

      Right Rotate an array by k elements

      Posted at 7:13 am by Admin, on June 22, 2016

      An array of elements is given arr
      arr is of length n
      Right rotate array by k elements
      Time complexity O(n) and space complexity O(1)

      Sample Input:
      arr = {1,2 ,3,4,5}
      n = 5
      k = 2
      Output :
      arr = {4,5,1,2,3}

      0 Comments
      Posted in Uncategorized
    • 13 May 2016

      Can you forecast weather?

      Posted at 12:57 pm by Admin, on May 13, 2016

      It is raining at midnight – will we have sunny weather in 72 hours?

      0 Comments
      Posted in Uncategorized
    • 13 May 2016

      Half full

      Posted at 12:49 pm by Admin, on May 13, 2016

      A half is a third of it. What is it?

      0 Comments
      Posted in Uncategorized
    • 12 May 2016

      Upside down years

      Posted at 3:25 am by Admin, on May 12, 2016

      When was the last year that looked the same upside down?
      (1961)

      0 Comments
      Posted in Uncategorized
    • 12 May 2016

      Good (or really bad) icebreaker question

      Posted at 3:19 am by Admin, on May 12, 2016

      A book costs $1 plus half its price. How much does it cost?

      0 Comments
      Posted in Uncategorized
    ← Older posts
    Newer posts →

Proudly powered by WordPress.

Theme: Minipress by Obox Themes.