Press "Enter" to skip to content

Find Median from Numbers Array

Ajk 0

How to find median from numbers array? This is quite the popular interview question. Ah, maths… Such a beautiful subject and so inter-related to computer science. Before we start thinking…

Check if a binary tree is a BST in Java

Ajk 0

This is a question that comes quite often as a preliminary / phone interview question. How do we check if a binary tree is a BST in Java? In other…

Find repeated 10 char sequences in DNA sample

Ajk 0

Find repeated 10 char sequences in DNA sample is just a modified version of Find all repeated substrings of size K, which is a pretty common question that gets asked in interviews.…