Loading...
Please sign in to view your progress
A set of medium difficulty coding questions to excel your next coding round at your dream Tech Company.
| # | Name | ||
|---|---|---|---|
1 | AR | In this coding interview, you'll solve a classic algorithmic problem:
generate all possible arrangements (permutations) of a given array of unique integers.
This tests your understanding of recursion, backtracking, and combinatorial algorithms.
| |
2 | UN | In this coding interview, you'll solve a challenging algorithmic problem:
given an array of integers that may contain duplicates, generate all possible
unique arrangements (permutations) of the elements. Each distinct permutation
should appear exactly once in your result.
| |
3 | PE | In this coding interview, you'll solve the classic maximum subarray problem:
given an integer array, find the contiguous subarray that produces the largest sum.
This is a fundamental algorithmic challenge that tests your understanding of dynamic
programming and optimization techniques.
| |
4 | MA | In this coding interview, you'll solve a classic matrix traversal problem:
given a rectangular matrix of integers, traverse all elements following a spiral pattern
starting from the top-left corner and return the elements in order.
| |
5 | TH | In this coding interview, you'll solve a dynamic programming problem:
given an array representing platforms with jump distances, determine if you can
reach the final platform starting from the first one.
| |
6 | IN | In this coding interview, you'll solve a classic algorithmic problem:
given a collection of time intervals, merge all overlapping intervals and return
a consolidated list of non-overlapping intervals.
| |
7 | SP | In this coding interview, you'll solve an algorithmic problem:
create a function that constructs a square matrix filled with consecutive integers
arranged in a clockwise spiral pattern starting from the top-left corner.
| |
8 | CI | In this coding interview, you'll solve a linked list manipulation problem:
given the head of a singly linked list, perform a rightward circular shift by k positions
and return the new head. Think of it like a conveyor belt where elements that fall off
the right end wrap around to the beginning!
| |
9 | RO | In this coding interview, you'll solve a classic dynamic programming problem:
calculate the number of unique paths a robot can take to navigate from the top-left
corner to the bottom-right corner of a rectangular grid, with movement restrictions
to only right and down directions.
| |
10 | RO | In this coding interview, you'll solve a dynamic programming problem:
help a robot navigate through an obstacle-filled grid from the top-left corner
to the bottom-right corner, calculating the total number of unique paths while
avoiding obstacles. The robot can only move right or down.
| |
11 | TR | In this coding interview, you'll solve a dynamic programming problem:
find the minimum cost path from the top-left corner to the bottom-right corner
of a grid, where you can only move right or down.
| |
12 | UN | In this coding interview, you'll solve a classic file system problem:
transform an absolute Unix-style file system path into its simplified canonical form.
Navigate through the directory maze by following Unix conventions and clean up messy paths!
| |
13 | ST | In this coding interview, you'll solve a classic dynamic programming problem:
transform one string into another using the minimum number of edit operations.
Test your algorithmic skills with this fundamental string manipulation challenge!
| |
14 | MA | In this coding interview, you'll solve an algorithmic problem involving matrix manipulation:
transform a given matrix by propagating zeros, where encountering a zero in any cell
requires setting the entire row and column containing that zero to zeros. The challenge
is to perform this transformation in-place without using additional matrices.
| |
15 | MA | In this coding interview, you'll solve an algorithmic problem involving searching
in a specially organized matrix. Given a matrix where each row is sorted and the
first element of each row is greater than the last element of the previous row,
you need to efficiently determine if a target value exists in the matrix.
| |
16 | RA | In this coding interview, you'll solve a classic array sorting problem:
organize colored objects (red, white, blue) in-place without using built-in sorting functions.
This is also known as the Dutch National Flag problem.
| |
17 | NU | In this coding interview, you'll solve a combinatorial problem:
generate all possible combinations of selecting k distinct numbers from a range [1, n].
This tests your understanding of recursion, backtracking, and mathematical combinations.
| |
18 | PO | In this coding interview, you'll solve a classic algorithmic problem:
given an integer array containing unique elements, generate and return all possible subsets (the power set).
| |
19 | LE | In this coding interview, you'll solve a challenging grid traversal problem:
determine whether a target word can be found within a character grid by connecting
adjacent letters. This tests your understanding of backtracking algorithms and
2D array manipulation.
| |
20 | AR | In this coding interview, you'll solve an array manipulation problem:
given a sorted integer array, remove duplicates in-place while allowing
each unique element to appear at most twice in the final result.
| |
21 | PU | In this coding interview, you'll solve a challenging linked list problem:
given the head of a sorted linked list, eliminate all nodes that contain duplicate values,
keeping only elements that appear exactly once in the original list.
| |
22 | LI | In this coding interview, you'll solve a classic algorithmic problem:
given the head of a singly linked list and a pivot value, reorganize the list
so that all nodes with values less than the pivot appear before all nodes
with values greater than or equal to the pivot while maintaining relative order.
| |
23 | BI | In this coding interview, you'll solve a fascinating algorithmic problem:
generate a valid n-bit binary reflection sequence (Gray code) with special properties
where each adjacent pair of integers differs by exactly one bit.
| |
24 | UN | In this coding interview, you'll solve an algorithmic problem involving generating
all unique subsets from an array that may contain duplicate elements. You'll need
to handle duplicates intelligently while ensuring the power set contains only
distinct subset combinations.
| |
25 | DI | In this coding interview, you'll solve an algorithmic problem involving IP address validation:
given a string of digits, find all possible valid IP addresses that can be formed by
strategically placing dots within the string.
| |
26 | BI | In this coding interview, you'll solve a dynamic programming problem:
given a positive integer n, determine how many structurally distinct binary search trees
can be constructed that contain exactly n nodes with unique values ranging from 1 to n.
|