---
title: "#gfg articles | Hashnode"
description: "Explore 22 articles tagged #gfg on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/gfg"
---

Tag

# #gfg

22 posts · 7 followers

[Puja Jorwar](https://hashnode.com/@pujajorwar) · [Jun 30](https://hashnode.com/posts/next-permutation-the-3-step-algorithm-that-made-everything-click/6a43d50443552d627a038d2e)

### [Next Permutation — The 3-Step Algorithm That Made Everything Click](https://pujajorwar.hashnode.dev/next-permutation-the-3-step-algorithm-that-made-everything-click?utm_source=hashnode&utm_medium=feed)

Most solutions I found online just showed me code with zero explanation of why it works.After solving this problem, I finally understood the pattern. Let me save you the confusion. 📖 First — What is

7 min read · [pujajorwar.hashnode.dev](https://pujajorwar.hashnode.dev/next-permutation-the-3-step-algorithm-that-made-everything-click?utm_source=hashnode&utm_medium=feed)

[ADITYA DHIMAN](https://hashnode.com/@Adityadhiman02) · [Sep 19, 2025](https://hashnode.com/posts/largest-element-in-an-array-easy/68cc9eea3cf2f0b888f649d5)

### [Largest Element in an Array (Easy)](https://dsa-problem-solving.hashnode.dev/largest-element-in-an-array-easy?utm_source=hashnode&utm_medium=feed)

Q- Given an array of integers nums, return the value of the largest element in the array Examples: Input: nums = \[3, 3, 6, 1\] Output: 6 Explanation: The largest element in array is 6 Input: nums = \[3, 3, 0, 99, -40\] Output: 99 Explanation: The larges...

1 min read · [dsa-problem-solving.hashnode.dev](https://dsa-problem-solving.hashnode.dev/largest-element-in-an-array-easy?utm_source=hashnode&utm_medium=feed)

[Abdul Kareem](https://hashnode.com/@alien15) · [Sep 10, 2025](https://hashnode.com/posts/circuit-switching-vs-packet-switching-cn6/68c186e939ce74ac8a8f4a4b)

### [🌐 Circuit Switching vs Packet Switching | CN#6](https://codebyalien.hashnode.dev/circuit-switching-vs-packet-switching-cn6?utm_source=hashnode&utm_medium=feed)

In earlier posts, we covered network devices. Now let’s understand two fundamental techniques for data transfer in networks: Circuit Switching and Packet Switching. 🔹 Circuit Switching 📌 Key Points Works at the Physical Layer. Uses a dedicated p...

3 min read · [codebyalien.hashnode.dev](https://codebyalien.hashnode.dev/circuit-switching-vs-packet-switching-cn6?utm_source=hashnode&utm_medium=feed)

[Prashant Gupta](https://hashnode.com/@prashcoder1) · [Sep 10, 2025](https://hashnode.com/posts/next-permutation/68c11b0a689a2588eb11eb5d)

### [Leetcode 31. Next permutation | GeeksforGeeks | Data Structure and Algorithms](https://prash-algorithms.hashnode.dev/next-permutation?utm_source=hashnode&utm_medium=feed)

Learn the Next Permutation algorithm (LeetCode/GFG) with step-by-step logic, Python & Java code, time-space complexity, and intuitive explanation.

3 min read · [prash-algorithms.hashnode.dev](https://prash-algorithms.hashnode.dev/next-permutation?utm_source=hashnode&utm_medium=feed)

[Prashant Gupta](https://hashnode.com/@prashcoder1) · [Aug 30, 2025](https://hashnode.com/posts/searching-in-a-sorted-2d-matrix-leetcode-2d-matrix/68b2f244abca303dab75bffd)

### [Searching in a Sorted 2D Matrix | Leetcode 2D Matrix](https://prash-algorithms.hashnode.dev/searching-in-a-sorted-2d-matrix-leetcode-2d-matrix?utm_source=hashnode&utm_medium=feed)

Learn efficient strategies to search a sorted 2D matrix. Explore brute force, binary search, and optimal staircase search methods

3 min read · [prash-algorithms.hashnode.dev](https://prash-algorithms.hashnode.dev/searching-in-a-sorted-2d-matrix-leetcode-2d-matrix?utm_source=hashnode&utm_medium=feed)

[Prashant Gupta](https://hashnode.com/@prashcoder1) · [Aug 30, 2025](https://hashnode.com/posts/counting-numbers-divisible-by-given-primes/68b28c91b6ba90a4eebe0b09)

### [Counting Numbers Divisible by Given Primes | Geeks for Geeks](https://prash-algorithms.hashnode.dev/counting-numbers-divisible-by-given-primes?utm_source=hashnode&utm_medium=feed)

Count numbers divisible by primes using brute force, marking multiples, and Inclusion-Exclusion Principle for efficiency

4 min read · [prash-algorithms.hashnode.dev](https://prash-algorithms.hashnode.dev/counting-numbers-divisible-by-given-primes?utm_source=hashnode&utm_medium=feed)

[Stephen J. Duncan](https://hashnode.com/@Smmvendorusa714) · [Jul 22, 2025](https://hashnode.com/posts/buy-old-gmail-accounts-a-complete-guide-2025/687fd4e6a8178301c2eee7a5)

### [Buy Old Gmail Accounts A Complete Guide 2025](https://785buyoldgmailaccounts.hashnode.dev/buy-old-gmail-accounts-a-complete-guide-2025?utm_source=hashnode&utm_medium=feed)

Buy Old Gmail Accounts Buy Old Gmail Accounts From Smmvendorusa because Old Gmail accounts can be valuable assets. They offer credibility and established presence. Buying these accounts can benefit businesses and individuals alike. But why are old Gm...

8 min read · [785buyoldgmailaccounts.hashnode.dev](https://785buyoldgmailaccounts.hashnode.dev/buy-old-gmail-accounts-a-complete-guide-2025?utm_source=hashnode&utm_medium=feed)

[Raghavendra M Devale](https://hashnode.com/@Raghavendra-Devale) · [Jun 25, 2025](https://hashnode.com/posts/mastering-daily-dsa-problems-a-step-by-step-guide-1/685bd48eff7c502fb5c6b33c)

### [Mastering Daily DSA Problems: A Step-by-Step Guide](https://raghavendradevale.hashnode.dev/mastering-daily-dsa-problems-a-step-by-step-guide-1?utm_source=hashnode&utm_medium=feed)

Daily Update on Solving DSA Problems problem - 2

2 min read · [raghavendradevale.hashnode.dev](https://raghavendradevale.hashnode.dev/mastering-daily-dsa-problems-a-step-by-step-guide-1?utm_source=hashnode&utm_medium=feed)

[Raghavendra M Devale](https://hashnode.com/@Raghavendra-Devale) · [Jun 25, 2025](https://hashnode.com/posts/mastering-daily-dsa-problems-a-step-by-step-guide/685bd33811894049836832ad)

### [Mastering Daily DSA Problems: A Step-by-Step Guide](https://raghavendradevale.hashnode.dev/mastering-daily-dsa-problems-a-step-by-step-guide?utm_source=hashnode&utm_medium=feed)

Daily Update on Solving DSA Problems

2 min read · [raghavendradevale.hashnode.dev](https://raghavendradevale.hashnode.dev/mastering-daily-dsa-problems-a-step-by-step-guide?utm_source=hashnode&utm_medium=feed)

[Raghavendra M Devale](https://hashnode.com/@Raghavendra-Devale) · [Jun 23, 2025](https://hashnode.com/posts/solving-dsa/68590e4440633b8e4af412a4)

### [Solving DSA](https://raghavendradevale.hashnode.dev/solving-dsa?utm_source=hashnode&utm_medium=feed)

I was trying to solve some DSA problems today I solved total 5 problems 4 easy and 1 medium on GFG portal the medium the problem messed my brain.At first I thought it was easy but after trying to solve it felt like banging my head. I tried solve on m...

1 min read · [raghavendradevale.hashnode.dev](https://raghavendradevale.hashnode.dev/solving-dsa?utm_source=hashnode&utm_medium=feed)
