Codility – Permutation Missing Element

Solution to Codility lesson1-exercise3 Permutation Missing Element problem, link to Codility problem and complete solution at the end of the post. Definitions:         Problem: Define a function solution with input A, such that solution returns the missing element of the sequence     . Expected worst-case time complexity is O(N); Expected worst-case […]

READ MORE