Skip to content

This project was created to save the exercises I am doing using Scala programming language. It is a way to keep up with the language and learn how to use the Scala test library as well.

Notifications You must be signed in to change notification settings

andersonkmi/leetcode-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode coding exercises in Scala Build Status

Writing the exercises in leetcode.com using Scala language.

Purpose

This project was created to save the exercises I am doing using Scala programming language. It is a way to keep up with the language and learn how to use the Scala test library as well.

Exercises developed so far

  • Length of last word
  • Merge sorted array
  • Remove duplicates from sorted list
  • Single number
  • Single number II
  • Single number III
  • Merge Two Sorted Lists
  • Remove duplicates from sorted list II
  • Valid palindrome
  • Path sum
  • Count and say
  • Binary tree level traversal
  • Binary tree level traversal II
  • Maximum Depth of Binary Tree
  • Longest common prefix
  • Plus one
  • Path sum II
  • Flatten binary tree
  • Word break
  • Roman to integer
  • Maximum SubArray
  • Partition list
  • Add binary
  • Contains duplicate
  • Middle of linked list
  • Jewels and stones
  • Reverse linked list

Versions

  • v1.0.21.0 (10/12/2018) - Added Reverse linked list exercise.

  • v1.0.21.0 (10/07/2018) - Added Jewels and stones exercise.

  • v1.0.20.2 (10/06/2018) - Improved null argument handling for Middle of linked list exercise.

  • v1.0.20.1 (10/06/2018) - Improved null argument handling for Contains duplicate exercise.

  • v1.0.20.0 (10/06/2018) - Added Middle of linked list exercise.

  • v1.0.19.0 (10/04/2018) - Added Contains duplicate exercise.

  • v1.0.18.0 (09/26/2018) - Added add binary exercise.

  • 1.0.17.0 (09/23/2018) - Added few more unit tests for partition list exercise.

  • 1.0.17.0 (09/19/2018) - Added Partition List exercise.

  • 1.0.16.0 (07/21/2018) - Added Maximum SubArray exercise - not optimized version.

  • 1.0.15.0 (07/16/2018) - Added Roman to Integer exercise.

  • 1.0.14.0 (07/10/2018) - Added Word break exercise.

  • 1.0.13.0 (06/10/2018) - Added Flatten binary tree exercise.

  • 1.0.12.0 (06/09/2018) - Added Sum Path II exercise and minor fix to Sum path exercise.

  • 1.0.11.0 (05/20/2018) - Added Plus One exercise.

  • 1.0.10.0 (05/19/2018) - Added Longest common prefix exercise.

  • 1.0.9.0 (04/21/2018) - Added Maximum Depth of Binary Tree exercise.

  • 1.0.8.0 (04/21/2018) - Added Binary tree level traversal II exercise.

  • 1.0.7.0 (04/14/2018) - Added CountAndSay exercise.

  • 1.0.6.3 (04/13/2018) - Added Travis CI badge.

  • 1.0.6.2 (04/13/2018) - Added Travis CI badge.

  • 1.0.6.1 (04/13/2018) - Added Travis CI support.

  • 1.0.4.0 (04/04/2018) - Added "Path sum" exercise.

  • 1.0.3.0 (03/31/2018) - Added "Valid palindrome" exercise.

  • 1.0.2.0 (03/30/2018) - Added "Remove duplicates from sorted list II" exercise.

  • 1.0.1.0 (03/30/2018) - Added "Merge Two Sorted Lists" exercise.

  • 1.0.0.0 (03/30/2018) - Initial version.

About

This project was created to save the exercises I am doing using Scala programming language. It is a way to keep up with the language and learn how to use the Scala test library as well.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages