Skip to content

jorge-sanz/CodilityTraining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodilityTraining

A set of solved problems from Codility training page.

Table of contents

Notes

  • Internal documentation missing.
  • Not all of them fit into required algorithmic complexity.

Development

All problems are solved using Java 8 and IntelliJ IDEA CE.

Lessons

Lesson 1: Iterations

BinaryGap: Find longest sequence of zeros in binary representation of an integer.

Lesson 2: Arrays

CyclicRotation: Rotate an array to the right by a given number of steps.

OddOccurrencesInArray: Find value that occurs in odd number of elements.

Lesson 3: Time Complexity

FrogJmp: Count minimal number of jumps from position X to Y.

Lesson 99: Future training

StrSymmetryPoint: Find a symmetry point of a string, if any.

TreeHeight: Compute the height of a binary tree.

ArrayInversionCount: Compute number of inversion in an array.

Related