Skip to content

Solutions to various programming challenges and problems on the leetcode platform. Code is for personal reference when applying different algorithms to similar problems.

Notifications You must be signed in to change notification settings

slaytr/leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Repository

Shift + Alt (Multiline Edit)

Answers to each LeetCode problem set in the format, problem id followed by it's name


Commit as of 30/04/2019

Problems Completed

  • Too many to continue recording

Commit as of 28/04/2019

Problems Completed

  • 169 Majority Element
  • 242 Valid Anagram
  • 383 Ransom Note
  • 733 Flood Fill
  • 171 Excel Sheet Column Number
  • 371 Sum of Two Integers
  • 453 Minimum Moves to Equal Array Elements
  • 1026 Maximum Difference Between Node and Ancestor
  • 677 Map Sum Pairs
  • 1022 Sum of Root to Leaf Binary Numbers
  • 1033 Moving Stones Until Consecutive
  • 1034 Colouring A Border

Commit as of 26/04/2019

Problems Completed

  • 897 Increasing Order Search Tree
  • 88 Merge Sorted Array
  • 500 Keyboard Row
  • 806 Number of Lines to Write String
  • 872 Leaf-Similar Trees
  • 682 Baseball Game
  • 637 Average of Levels in Binary Tree
  • 937 Reorder Log Files
  • 226 Invert Binary Tree
  • 693 Binary Number with Alternating Bits
  • 888 Fair Candy Swap
  • 896 Monotonic Array
  • 606 Construct String from Binary Tree
  • 520 Detect Capital
  • 993 Cousins in Binary Tree
  • 448 Find All Numbers MIA in an Array
  • 791 Custom Sort String

Commit as of 23/04/2019

Problems Completed

  • 104 Max Depth Binary Tree
  • 136 Single Number
  • 412 Fizz Buzz
  • 942 DI String Match
  • 206 Reverse Linked List
  • 237 Delete Node in a Linked List
  • 921 Minimum Add to Make Parentheses Valid
  • 237 Delete Node in a Linked List

Commit as of 22/04/2019

Problems Completed

  • 620 Not Boring Movies (SQL)
  • 1025 Divisor Game
  • 985 Sum of Even Numbers After Queries (SQL)
  • 463 Island Perimeter
  • 976 Largest Perimeter Triangle
  • 1009 Complement of Base 10 Integer
  • 912 Sort Array
  • 94 Binary Tree Inorder Traversal

Commit as of 21/04/2019

Problems Completed

  • 811 Subdomain Visit Count
  • 884 Uncommon Words from Two Sentences
  • 1030 (Contest) Matrix Cells in Distance Order
  • 979 Distribute Coins in a Binary Tree
  • 951 Flip Equivalent Binary Trees

Commit as of 20/04/2019

Problems Completed

  • 258 Add Digits
  • 292 Nim Game
  • 485 Max Consecutive Ones
  • 283 Move Zeroes
  • 349 Intersection of Arrays
  • 476 Number Complement
  • 654 Maximum Binary Tree

Commit as of 19/04/2019

Problems Completed

  • 771 Jewels and Stones
  • 1021 Remove Outermost Parantheses
  • 709 To Lower Case
  • 804 Unique Morse Code Words
  • 929 Unique Email Address
  • 905 Sort Array By Parity
  • 977 Squares of a Sorted Array
  • 832 Flipping an Image
  • 657 Robot Return to Origin
  • 461 Hamming Distance
  • 961 N-Repeated Element in Size 2N Array
  • 617 Merge Two Binary Trees
  • 728 Self Dividing Numbers
  • 852 Peak Index in a Mountain Array
  • 944 Delete Columns to Make Sorted
  • 700 Search in a Binary Search Tree
  • 965 Univalued Binary Tree
  • 509 Fibonacci Number
  • 561 Array Partition I
  • 344 Reverse String
  • 821 Shortest Distance to a Character
  • 908 Smallest Range I
  • 999 Available Captures Rook
  • 1002 Find Common Characters
  • 867 Transpose Matrix
  • 876 Middle of the Linked Lists
  • 557 Reverse Words in a String III
  • 190 Reverse Bits
  • 414 Third Maximum Number
  • 100 Same Tree
  • 701 Insert into a Binary Search Tree

Image Log

Current Log Graph Format - 30/04

LeetCode

Current Log Table Format - 30/04

LeetCode


About

Solutions to various programming challenges and problems on the leetcode platform. Code is for personal reference when applying different algorithms to similar problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published