Your browser (Unknown 0) is no longer supported. Some parts of the website may not work correctly. Please update your browser.
Exercise 4

Algorithmic skills

Tasks:

easy
Find the first unique number in a given sequence.
easy
Find a symmetry point of a string, if any.
easy
Compute the height of a binary tree.
medium
Compute number of inversion in an array.
hard
Reduce a string containing instances of the letters "A", "B" and "C" via the following rule: remove one occurrence of "AA", "BB" or "CC".
hard
Check whether a given polygon in a 2D plane is convex; if not, return the index of a vertex that doesn't belong to the convex hull.