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

Data Structures

Tasks:

easy
Compute length of a single-link list encoded in an array.
medium
Calculate the number of slices in which (maximum - minimum <= K).
medium
Given a tree, find a downward path with the maximal number of direction changes.
hard
Count the number of different countries that a map contains.