# Category: Medium Difficulty

## Max Double Slice Sum – Codility 100% Correct Javascript Solution

The Max Double Slice Sum was a challenging problem to solve in O(N) complexity. I iterated through the array from both sides finding out at each position the maximum …

## Codility Max Counters 100% Javascript Solution

Ok the Max Counters problem is the first algo challenge marked as medium in the codility lessons. I devised a O(m+n) solution. We first check if there’s no element …

## Number Of Disc Intersections – Codility 100% Correct Javascript Solution

The Number of Disc Intersections is the hardest challenge so far, at least for me. I had to go seriously out of the box for this one, but in …

## Min Average Slice – Codility 100% Correct Javascript Solution

The Min Average Slice problem gives more of a mathematical challenge than a coding one. The trick here is to figure out that you only need to find the …

## Count Div Codility 100% Correct Javascript Solution

The Count Div problems is classified as a medium difficulty but I found the solution to be quite trivial and easily solvable in O(1). The only thing we need …

## Missing Integer – Codility 100% Correct Javascript Solution

The Missing Integer problem in the 4th Codility lesson is marked as medium but I think the solution is pretty straight forward. The complexity of my solution is O(N) …