Linux du and df:Find Disk Space Hogs
Hands-on df and du recipes — check filesystem free space, hunt directory hogs, and resolve “no space left on device” with confidence.
Read MoreBrowse the full archive. Use topics in the sidebar to explore by tag.
Hands-on df and du recipes — check filesystem free space, hunt directory hogs, and resolve “no space left on device” with confidence.
Read MoreA decision guide for the data-structures series: given the hot operation, which layout and which JDK type — with links to every post in the series.
Read MoreRunning best ending here, empty-array and all-negative pitfalls, and why this is one pass of DP you do not need to name as a table.
Read MoreSpatial trees split the plane so range and nearest-neighbor queries skip whole regions. Quadtrees cut into four boxes; k-d trees alternate axis splits.
Read MoreInclusive vs exclusive prefixes, a 2D sketch, difference arrays for range updates, and when a Fenwick or segment tree is the next bill.
Read MoreFixed and variable windows, the add-right / drop-left invariant, and why this is not the same thing as a rate-limit window.
Read MoreA suffix array is the sorted list of a string’s suffixes as start indices. Binary search finds substrings; a short section contrasts the heavier suffix tree.
Read MoreA treap is a BST on keys and a heap on random priorities. Rotations restore heap order so the shape stays balanced in expectation without color bits.
Read MoreHands-on ss and netstat recipes — list listening sockets, inspect open connections, check routing tables, and read interface statistics.
Read MoreOpposite-end, pair-sum on sorted data, and fast/slow — when two indexes replace O(n²) and when they are just two indexes.
Read More