Tuesday, May 28, 2019

2019 algorithm practice

May 28, 2019

Introduction

It is time for me to get more organized on algorithm practice. I like to track how many algorithms I have practiced in 2019, and also what kind of mistakes I make etc. I need to separate page for 2019 practice

Github page


Here is my github page for 2019 practice. 
I like to list all algorithms I practice in 2019. I need to constantly find new algorithms to work on, and also review my past practice as well.
I can easily find out what algorithms I solve by looking up my github page and sorting by the date time. 
2019 - January 
2019 - February 
2019 - March 
2019 - April 
4/29
1035. Uncrossed Lines C# dynamic programming solution readable code
1034. Coloring A Border C# using two negative values to mark visited, -1 for the mark to change color
1033. Moving Stones Until Consecutive Ever tried. Ever failed. No matter. Try again
4/23
957. Prison Cells After N Days C# First practice in April 2019
4/22
75. Sort Colors C# Work on test case [2, 0, 1, 2] and then figure out the idea
1031. Maximum Sum of Two Non-Overlapping Subarrays Need to shorten the time
402. Remove K Digits C# easy to write using stack with analysis
402. Remove K Digits C# brute force solution - time consuming and struggling
4/15
1026. Maximum Difference Between Node and Ancestor code written in weekly contest
1025. Divisor Game C# recursive function practice after the weekly contest
1025. Divisor Game dynamic programming solution - Attention Please!
4/10
1024. Video Stitching C# greedy algorithm only one iteration on sorted array
4/18
1023. Camelcase Matching written in the contest 131
1023. Camelcase Matching solution learned after the contest
1022. Sum of Root To Leaf Binary Numbers C# a recursive function with module calculation
1021. Remove Outermost Parentheses
4/2
947. Most Stones Removed with Same Row or Column C# Use partial of union find algorithm to solve the problem
947. Most Stones Removed with Same Row or Column C# apply depth first search in a graph
947. Most Stones Removed with Same Row or Column weekly contest ranking 5, 8, 12, 13, 16, 40, 58, 117, 176 players - code study
947. Most Stones Removed with Same Row or Column union find algorithm study - rank, size, path compression, common mistakes, while/ recursive implementation
200. Number of Islands C# depth first search practice
2019 - May 
May 11 
10. Regular Expression Matching C# one practice brought me back sweet story of practice in 2018
399. Evaluate Division Ask advice from the author - Amazon Senior SDE
399. Evaluate Division learn from C# code written in 2017
785 Is graph bipartite union find algorithm
785 Is graph bipartite depth first search algorithm
91. Decode Ways Code written in 2019
1037. Valid Boomerang 34 minutes for an easy algorithm
1038. Binary Search Tree to Greater Sum Tree how two small mistakes drag down my performance from 10 minutes to 50 minutes
1042. Flower Planting With No Adjacent code written in weekly contest
May 6 - 11
235. Lowest Common Ancestor of a Binary Tree binary search in BST
236. Lowest Common Ancestor of a Binary Search Tree time out using string, need help
236. Lowest Common Ancestor of a Binary Search Tree time out using list, need help
236. Lowest Common Ancestor of a Binary Search Tree optimal solution bottom up with reasoning
236. Lowest Common Ancestor of a Binary Search Tree various topics covered through 2019 practice
May 14 
146. LRU Cache May 2019 pass 12/ 18 test cases
May 24 
329. Longest Increasing Path in a Matrix C# depth first search and memoization classical algorithm
May 27 
241 Different Ways To Add Parentheses practice in 2019 May - a Google interview algorithm
124. Binary Tree Maximum Path Sum 2019 May practice

No comments:

Post a Comment