AlgoDaily
I guess doing algorithms every day is a long-term investment in my life
Languages
- golang, python, js
Target topics
- Binary Search
- Binary Search Tree
- Tree(Binary Tree, N-aray Tree, Trie, Binary Indexed Tree, Segment Tree)
- Graph(Dijkstra, Bellman-Ford, Floyd Warshall, Union Find, Kruskal, Prim's, Minimum Spanning Tree, Topological Ordering, Tarjan...etc)
- Stack
- Queue
- Array
- Sorting
- Heap
- Hash Table
- Linked list
- Bit Operation
- Backtracking
- Dynamic programming(Kadan, Knapsack, Binary Lifting...etc)
- Math (Reservoir Sampling, Rejection Sampling...etc)
- and more...
Questions from
- Leetcode
- Codility
- AlgoExpert
- Google Code Jam
- Google Kick Start
- Codeforces
- Glassdoor
- Interviews
- ...
My other related repos
Journey
- I have been doing this every day since September 1st, 2018
- On Sep 17th, 2019, day 381, I joined eBay
- On May 27th, 2021, day 1000
- On June 1st, 2021, day 1004, I joined Facebook
const start = new Date("09/01/2018"); const now = new Date(); console.log(Math.ceil((now - start) / (1000 * 3600 * 24)));- Day 1 - 100
- Day 101 - 200
- Day 201 - 300
- Day 301 - 400
- Day 401 - 500
- Day 501 - 600
- Day 601 - 700
- Day 701 - 800
- Day 801 - 900
- Day 901 - 1000
- Day 1001 - 1100
- Day 1101 - 1200
- Day 1201 - 1300
| Day | Question | Type | From | remarks |
|---|---|---|---|---|
| 1301 | Two Arrays And Swaps | array | codeforces 25a | |
| 1302 | Balanced Array | Balanced Array | codeforces 1343b | |
| 1303 | Divide Array Into Equal Pairs | hash table | leetcode 2206 | |
| 1304 | Count Hills and Valleys in an Array | array | leetcode 2210 | |
| 1305 | Minimum Operations to Halve Array Sum | heap | leetcode 2208 | |
| 1306 | Maximize Number of Subsequences in a String | greedy | leetcode 2207 | |
| 1307 | Count Collisions on a Road | stack | leetcode 2211 | |
| 1308 | Minimum Health to Beat Game | math | leetcode 2214 | |
| 1309 | Find the Difference of Two Arrays | hash table | leetcode 2215 | |
| 1310 | Minimum Deletions to Make Array Beautiful | greedy | leetcode 2216 | |
| 1311 | Maximum Value of K Coins From Piles | dynamic programming | leetcode 2218 | |
| 1312 | Maximum Sum Score of Array | array | leetcode 2219 | |
| 1313 | Minimum Bit Flips to Convert Number | bit op | leetcode 2220 | |
| 1314 | Find Triangular Sum of an Array | array | leetcode 2221 | |
| 1315 | Number of Ways to Select Buildings | dynamic programming | leetcode 2222 |