Problem Set

You'll find a list of problems sorted by difficulty level.

1. Find your current level

Pick 3 arbitrary problems from different levels and try to solve them.

2. Solve problems just beyond your current level

Once you know your level, pick a problem just beyond your current level and solve it.

3. Repeat

Repeat Step 2

4. Exit test Prep

The difficulty level of problems in the exit test will be around 6 to 6.5

Towards the end of this page, you'll find a bunch of problems which are at a similar difficulty level to the ones in the exit test.
So use this problems to check if you are ready for the exit test.

5. Challenge Section

At the end of the page, you'll find another list of problems which are harder than what you'll encounter in the exit test.
It's not mandatory to solve them to prepare for the exit test. Use them to challenge yourself.


Process

  • Spend 30-45 minutes and try to come up with the logic / pseudocode
  • If you are not able solve it, take a small break, and come back to the problem.
  • Come with another plan / a different approach. Don’t look up the solution online.
  • If you are still not able to solve it, move on to a different problem.
  • It’s perfectly natural to not be able to solve a problem in 1-2 attempts.
  • Come back to the original problem the next day, and try again.
  • Look at the solution only if you have spent at least 4-5 hours on the problem.

It's better to spend 1-2 days on a problem that challenges you and makes you grow than to solve 3 problems which don't.

When you follow this process, you’ll develop grit / determination and also increase your capability.


Problems

Convert Hours into Seconds

URL: https://edabit.com/challenge/6AnQqiEjkJdZrWhPS

Difficulty level: 1.00


Maximum Edge of a Triangle

URL: https://edabit.com/challenge/nhXofMMyrowMyr9Nv

Difficulty level: 1.00


Convert "Zero" and "One" to "1" and "0"

URL: https://edabit.com/challenge/iKRmj2Q6GQHkAXXxf

Difficulty level: 1.25


Boolean Chain

URL: https://edabit.com/challenge/88ZNcDhyzke3Hpu5y

Difficulty level: 1.50


Largest Swap

URL: https://edabit.com/challenge/hD3euqPHM82Cbr7R8

Difficulty level: 2.00


Find the Mean of All Digits

URL: https://edabit.com/challenge/JAgtuPDXj6BrDMxa5

Difficulty level: 2.25


Find the Second Occurrence of "zip" in a String

URL: https://edabit.com/challenge/HLvES6FKvbFGPXs7X

Difficulty level: 2.50


Is there an upward trend

URL: https://edabit.com/challenge/X3JBqvoG5aq38Dc38

Difficulty level: 2.60


Puzzle Pieces

URL: https://edabit.com/challenge/Zu4LyLXhd9e49krFP

Difficulty level: 2.75


Product of Remaining elements

URL: https://edabit.com/challenge/WuoMiJRr69hPRQJYx

Difficulty level: 2.80


Number of People in the Bus

URL: https://www.codewars.com/kata/5648b12ce68d9daa6b000099

Difficulty level: 3.25


Vowel Families

URL: https://edabit.com/challenge/nxSeD3tvqQkumGNid

Difficulty level: 3.50


Cut the Stick

URL: https://www.hackerrank.com/challenges/cut-the-sticks/problem

Difficulty level: 3.50


Median of sliding window in an array

URL: https://www.geeksforgeeks.org/median-of-sliding-window-in-an-array/?ref=leftbar-rightbar

Difficulty level: 3.50


Unique Character Mapping

URL: https://edabit.com/challenge/9MEWMJ5eX8EAiWSs5

Difficulty level: 3.75


Converting One Binary String to Another

URL: https://edabit.com/challenge/HZcpmfBg6NstB5soN

Difficulty level: 4.00


Generating Words from Names

URL: https://edabit.com/challenge/tGehcXPRmrepQPGQW

Difficulty level: 4.00


Abbreviations Unique?

URL: https://edabit.com/challenge/H8JABWQfYFN4ZSAxE

Difficulty level: 4.00


Strange Counter

URL: https://www.hackerrank.com/challenges/strange-code/problem

Difficulty level: 4.00


Implement selection sort

URL: https://en.wikipedia.org/wiki/Selection_sort

Difficulty level: 4.00


Implement insertion sort

URL: https://en.wikipedia.org/wiki/Insertion_sort

Difficulty level: 4.00


Difference of 2

URL: https://www.codewars.com/kata/5340298112fa30e786000688

Difficulty level: 4.00


Array Exchange

URL: https://www.codewars.com/kata/5353212e5ee40d4694001114

Difficulty level: 4.00


Tic Tac Toe

URL: https://edabit.com/challenge/jsukwFKLKJx2qLs5b

Difficulty level: 4.25


Convert a Number to Base 2

URL: https://edabit.com/challenge/3kcrnpHk7krNZdnKK

Difficulty level: 4.50


Positive Dominant

URL: https://edabit.com/challenge/7pkKPYtTJzpxRMckZ

Difficulty level: 4.50


Check whether a Matrix is a Latin Square or not

URL: https://www.geeksforgeeks.org/latin-square/

Difficulty level: 5.00


Implement quick sort

URL: https://en.wikipedia.org/wiki/Quicksort

Difficulty level: 5.00


Each n-th element of list

URL: https://www.codewars.com/kata/5a077e8106d5b654b800004f

Difficulty level: 5.00


Restaurant Tables

URL: https://www.codewars.com/kata/598c1bc6a04cd3b8dd000012

Difficulty level: 5.00


Merge two sorted arrays

URL: https://www.codewars.com/kata/5899642f6e1b25935d000161

Difficulty level: 5.25


Track the Robot

URL: https://edabit.com/challenge/jfpfpH6w42tZeRo2T

Difficulty level: 5.50


Longest Span with same Sum in two Binary arrays

URL: https://www.geeksforgeeks.org/longest-span-sum-two-binary-arrays/?ref=lbp

Difficulty level: 5.50


Objects section

Count the Letters and Digits

URL: https://edabit.com/challenge/2ndkdWJpycphvhmv8

Difficulty level: 2.50


Pricey Products

URL: https://edabit.com/challenge/neWTApTYread9ZNdP

Difficulty level: 2.50


Get Sum of People's Budget

URL: https://edabit.com/challenge/tmnCStcrkdWbreKP5

Difficulty level: 3.00


Alternating Ones and Zeroes

URL: https://edabit.com/challenge/XHzuvkGKGy7pB73ZE

Difficulty level: 3.50


Spotify playlist

URL: https://rentry.co/objects-spotify-problem

Difficulty level: 6.50


Recursion section

Length of a String

URL: https://edabit.com/challenge/4MSbtYFBiRtxHEkY8

Difficulty level: 3.00


Reverse a string

URL: https://edabit.com/challenge/TiAz6mfHTtkoqMszA

Difficulty level: 3.00


Factorial

URL: https://edabit.com/challenge/Ju7AK9rAGjz86hjxo

Difficulty level: 3.00


Find the Index (Part 2)

URL: https://edabit.com/challenge/z6Pxiw289JtaE2ndL

Difficulty level: 4.00


ABACABA pattern problem

URL: https://edabit.com/challenge/ny6ErMLiGWeL6up3v

Difficulty level: 4.50


Flatten array

URL: https://edabit.com/challenge/DkLjrHfry9xgTedG2

Difficulty level: 6.00


Midpoint inception

URL: https://www.codewars.com/kata/56d67c7eecb553574900016c

Difficulty level: 6.00


Fives and Threes only

URL: https://edabit.com/challenge/2aRggQCd8XFHtdtBD

Difficulty level: 7.50


Exit Test Prep section

Sports League Table Ranking (with Head-to-head)

URL: https://www.codewars.com/kata/5e0e17220d5bc9002dc4e9c4

Difficulty level: 6.00


Rotate Corners

URL: https://www.codewars.com/kata/5717fbf85122b8f757001b3f

Difficulty level: 6.00


Office Mission #5: Recurring task

URL: https://www.codewars.com/kata/58805dc3c0c9b68239000098

Difficulty level: 6.50


rotate the letters of each element

URL: https://www.codewars.com/kata/5e98712b7de14f0026ef1cc1

Difficulty level: 7.00


Office Mission #1: Select multiple tasks

URL: https://www.codewars.com/kata/587fae1212fc6e1dc4000033

Difficulty level: 7.00


Challenge section

Spiral corner

URL: https://www.codewars.com/kata/572ffcd52713bf4cb4000d13

Difficulty level: 7.50


Find the smallest

URL: https://www.codewars.com/kata/573992c724fc289553000e95

Difficulty level: 7.5


Iterative Rotation Cipher

URL: https://www.codewars.com/kata/5a3357ae8058425bde002674

Difficulty level: 8.00


Edit

Pub: 30 Mar 2020 10:42 UTC

Edit: 15 Jul 2020 10:01 UTC

Views: 6628