Category: Posts
-
Truncate DDB table
One of the features that I miss from most RDBMS is the ability to easily delete all rows, either via DELETE * FROM MyTable or using TRUNCATE TABLE MyTable. Unfortunately, DynamoDB does not have such a feature, you have to either, delete your table or remove all items one at a time. Sometimes, however, deleting…
-
Back-of-the-envelope estimations
Materials Numbers you should know
-
Delete multiple DDB tables
WARNING: Use at your own peril, this will delete DDB tables w/o asking for confirmation. I found myself deleting tables manually from the DynamoDB UI, and it started to get tedious, here a small working program to delete tables in Java. Full code: https://github.com/rendon-aws/ddb-examples Thanks for reading!
-
Segment Tree
Theory Implementation With lazy propagation Practice problems
-
Bellman-Ford algorithm for shortest paths
Theory Implementation Practice problems
-
Kruskal’s algorithm for minimum spanning trees (MST)
Theory Implementation Practice problems
-
Vim notes
Start here Neovim + Lua Jumps I’ve been familiar with c-o and c-i for a while, but I have not used them effectively, some things were missing. The following mappings simplify working with relativenumber and <count>j/<count>k: Source: reddit post inoremap and white spaces Just found out that white spaces matter in inoremap mappings, the following…
-
Knuth-Morris-Pratt algorithm for substring search
Theory Implementation Practice problems
-
Rabin-Karp algorithm for substring search
Theory Implementation Practice problems
-
Boyer-Moore algorithm for substring search
Theory Implementation Practice problems