Arya M. Pathakarya2004.hashnode.dev·9 hours agoUnderstanding Functions, Recursion, and Defer in GoGo is a powerful and versatile programming language that combines the efficiency of statically typed languages with the flexibility of dynamic languages. One of the most compelling features of Go is its advanced handling of functions. From returning ...Discuss·16 likesGo Deep: Mastering Golang FundamentalsGeneral Programming
Ronit Pandaronit.dev·Jul 14, 2024Building a simple http server to query dns serverWe are almost at the end, in this blog we will be building a simple http server which will resolve our DNS queries by querying the underlying UDP server we built, providing us with an easy to use interface. Honestly we are just going to setup a bare ...DiscussBuilding a simple DNS server from scratch with NodeJS and Typescriptbuilding your own dns
Ronit Pandaronit.dev·Jul 14, 2024Building the recursive resolverWe have already explored the outline of our UDP server, now time comes to actually build the resolver which will resolve DNS queries. f you don't have the codebase yet:https://github.com/rtpa25/dns-server For this before jumping into code, let's unde...DiscussBuilding a simple DNS server from scratch with NodeJS and TypescriptRecursion
Md Nadim Anwarnadim.in·Jul 14, 2024Data Structures for Beginners: Essential Concepts SimplifiedWhat is Data Structure? A data structure is a way of organizing data so that it can be used effectively and efficiently. From a code design perspective, we need to pay particular attention to the way data is structured. If data isn’t stored properly,...DiscussData Structures and Algorithms (DSA)#nadim.in
Shubham Sourabhvampirepapi.hashnode.dev·Jul 9, 2024Understanding the Josephus Problem: A Comprehensive GuideJosephus Problem Explained 🎯 Brute Force Approach To solve this problem using a brute-force approach, we can simulate the game step by step. This involves maintaining a list of friends and eliminating every (k)-th friend until only one friend remain...DiscussDSA
Shubham Sourabhvampirepapi.hashnode.dev·Jul 8, 2024Recursion Made Easy: A Beginner's GuideIMP Links - Striver Recursion YT Aditya Verma - Recursion / good playlist on recursion awesome-leetcode-resources Become Master In Recursion Recursion LC problems When a function calls itself until a specified condition is met, it is called re...Discuss·10 likesDSA
Polkam Srinidhinidhiblog.hashnode.dev·Jul 8, 2024Day 6 Python 2024Recursion in Python Recursion is a powerful programming technique where a function calls itself to solve a smaller instance of the same problem. It is often used to solve problems that can be broken down into smaller, similar subproblems. Understandi...Discuss·31 readsRecursion
Anower Hossainanower77.hashnode.dev·Jul 7, 2024Recursion & Backtracking1-Recursion-Basic #include "bits/stdc++.h" using namespace std; void solve(int n) { if(n==0) return; solve(n-1); cout<< n << " "; } int main() { ios::sync_with_stdio(false); cin.tie(NULL); int n; cin>>n; solve(n); ...Discuss2-Tree-Recursion
Vineeth Chivukulavineethchivukula.hashnode.dev·Jul 5, 2024Solving Path SumTo see the question, click here. Naive Approach The idea is to maintain two stacks nodeStack and sumStack . Until nodeStack is empty; if it's a leaf node and the current sum equals 0, we found a path. Process the right child by pushing it onto the no...Discuss112. Path Sum
Sean Coughlinblog.seancoughlin.me·Jul 1, 2024Mastering LeetCode: Generating All Permutations of an ArrayIntroduction Generating permutations is a fundamental problem in computer science, often appearing in coding interviews and algorithm challenges. Understanding how to efficiently generate permutations can provide insights into various combinatorial p...Discuss·28 readsSWE Interview PreparationPython