VVVidit Vatsindsa-decoded.hashnode.dev·3d ago · 4 min readLC-18 4SumGiven an array nums of n integers, return an array of all the unique quadruplets [nums[a], nums[b], nums[c], nums[d]] such that: 0 <= a, b, c, d < n a, b, c, and d are distinct. nums[a] + nums[b] +00
AOAnslem Owhofasainanslem.hashnode.dev·Aug 18 · 5 min readWhy exporting support tickets is a security risk and how to fix it local firstWhen a critical bug, billing dispute, or compliance issue happens, someone on the team inevitably needs to export a support conversation. A security engineer might need the raw thread to investigate a11D
LGLewis Gilchristindevabkk.hashnode.dev·Aug 13 · 8 min readHashing is not the same as anonymizing, and the difference matters"We hash your data so it is never stored in plain text." This is a true statement that can mean very different things depending on what the data is, how the hash is constructed and what the attacker h00
LLIANPRinlianpr.hashnode.dev·Jul 16 · 5 min readWhat Is Hashing in Blockchain? A Beginner-Friendly ExplanationIntroduction: Why Hashing Matters in Blockchain Hashing is one of the most important technologies behind blockchain security. Although the term may sound technical, the basic idea is simple: hashing c00
VVVidit Vatsindsa-decoded.hashnode.dev·Jul 15 · 2 min readLC-1 Two Sum ProblemWe are given an array of integers nums and an integer target. Return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you00
DVDevansh Vermainbackendblueprints.hashnode.dev·Jul 13 · 7 min readHow consistent hashing works and helps in rebalancing shards in a SQL DB.The problem consistent hashing solves Say you shard your users table across 4 database nodes /shards using a hash function -> hash(user_id) % 4. This works fine — until you add a 5th node. Now % 4 bec00
KSKanishka Shashiinnodej.hashnode.dev·Jul 2 · 8 min readSecuring Apps: Password Hashing, RBAC, OAuth, and OpenID ConnectSecurity is one of those things that's easy to bolt on badly and hard to retrofit well. Most applications end up needing to answer four separate questions: How do we store credentials safely? How do w00
AAAbstract Algorithmsinabstractalgorithms.hashnode.dev·Jul 2 · 1 min readConsistent HashingConsistent hashing is a scaling pattern where both database/cache nodes and data keys are mapped onto a circular hash ring. This limits the number of keys remapped when nodes are added or removed to K00
PMPrasanth Madhurapantulainfreecodecamp.org·Jun 29 · 12 min readHow a Bloom Filter Works: Build One From Scratch in PythonA Bloom filter gives you something that feels like magic: it can tell you whether an item is in a set of billions, using only a few kilobytes of memory. And it answers in the same tiny amount of time 00
PMPrasanth Madhurapantulainiwtlp.hashnode.dev·Jun 15 · 10 min readBuild your own git from scratch, and watch its hashes match the real thingAlmost everyone uses git every day and almost no one knows what it does. We learn the verbs, add, commit, push, pull, and treat the rest as a black box that occasionally eats our work. But the core of10