Skip to content

joantolos/kata-code-jam

Repository files navigation

Kata Code Jam

Kata

These are a compilation of several code exercises that I find interesting.

  • Exercises solved in Java will require at least Java 17 to run
  • Exercises solved in Javascript, Typescript or node, will require yarn or npm installed

Exercises

  • Binary Search - Searching a number in an array of numbers.
  • Binary Search Tree - Given the root of a binary tree, determine if it is a valid binary search tree (BST).
  • Add Two Numbers - Sum two numbers as a linked list.
  • Palindrome Number - Given an integer x, return true if x is palindrome integer.
  • Reverse Integer - Given a signed 32-bit integer x, return x with its digits reversed.
  • Sort An Array - Given an array of integers nums, sort the array in ascending order.
  • Valid Sudoku - Determine if a 9 x 9 Sudoku board is valid.
  • Array Multiply - Each element of the array is the result of the multiplication of all the others.
  • Sudoky Solver - Write a program to solve a Sudoku puzzle by filling the empty cells.
  • Three Sum - Given an integer array nums, return all the triplets that sum zero.
  • Union Find - Union find is a possible solution for the dynamic connectivity problem.
  • Bubble Sort Algorithm - Implementation of the Bubble Sort Algorithm.
  • Star Wars Movies Order - Ordering the Star Wars movies from the release date to chronologically.
  • Book Quote Builder - JSON manipulation casuistic with Javascript
  • Meet Up Parser - Another JSON manipulation casuistic with Javascript
  • Meet Up - Meet up parser optimisation
  • Meet Up - Meet up parser implemented in Java
  • Barcelona Grand Prix - Yet another JSON manipulation casuistic with Javascript
  • Grouping By - Using Collectors from Stream API
  • UUID Javascript - UUID generation with Javascript
  • Array pagination - Pagination simulation of an array with Javascript
  • Table manager - Sorting and table pagination simulation of an array with Typescript
  • Override polymorphism - Example of overriding polymorphism made on Typescript.
  • Fizz Buzz - Fizz Buzz in Javascript with TDD
  • Two sum - Return indices of the two numbers such that they add up to target.