#
Crack the Coding Interviews

Prepare for technical interviews and learn from handcrafted tutorials and interview questions

**Explore Interview Questions →**

## Programming Tutorials

Learn programming and get technical knowledge from our handcrafted tutorials

## Python Tutorial

A tutorial which will make you expert in Python.

START →

# Latest Articles

Problem Statement In the mobile numeric keypad problem, we consider a numeric keypad. We need to find all number of possible numeric sequences of given length such that you are only allowed to press buttons which are top, down, left, and right of the current button. You are not allowed …

Read moreMobile Numeric Keypad Problem

Problem Statement You have given an integer array and a number k. The problem statement asks to find the subarray with least average, which is to find out the sub-array of k elements, which has the minimum average. Example arr[] = {12, 34, 20, 30, 24, 45} k = 3 Sub-Array of [0, 2] has a minimum average. Explanation: …

Read moreFind the subarray with least average

Problem Statement You are given a sorted array of integers. We need to find the smallest positive integer value that cannot be represented as sum of any subset of a given array. Example arr[] = {1,4,7,8,10} 2 Explanation: Because there is not any sub-array that can represent 2 as a …

Read moreFind the smallest positive integer value that cannot be represented as sum of any subset of a given array

Problem Statement Suppose you have an array of integers of size n. The problem statement asks to find out the minimum number of subsets with distinct elements, that is subsets that can be formed which contain all the different/distinct elements from the array. Example arr[] = {2,4,6,2,1,4,2} 3 Explanation: {1, …

Read moreMinimum number of subsets with distinct elements

Problem Statement An array having n integers is given to us. We need to find the maximum sum bitonic subarray. A bitonic subarray is nothing but just a subarray where the elements are arranged in a specific order. Such that the first elements are in increasing order and then in …

Read moreMaximum sum bitonic subarray