Pratik Shahpratik676.hashnode.dev·Aug 26, 2024Count Substrings with Exactly k Distinct Characters in a StringProblem Statement Given a string of lowercase alphabets, count all possible substrings (not necessarily distinct) that have exactly k distinct characters. Example:Input: S = "aba", K = 2Output: 3Explanation: The substrings are "ab", "ba", and "aba". ...20 likes·54 readsSubstrings
Nitishkumarnitishkumar07.hashnode.dev·Jan 17, 2024DAY 2 (2nd time)Problem Statement (podt : All Unique Permutations of an array: Medium level) Given an array arr[] of length n. Find all possible unique permutations of the array in sorted order. A sequence A is greater than sequence B if there is an index i for whic...podt
Saikumarboyapatisaisblog.hashnode.dev·Sep 15, 2023Unleashing the Power of Geeks for Geeks (GFG): A Comprehensive Guide to Effective UtilizationIn the ever-evolving landscape of technology and programming, staying ahead of the curve is imperative. Geeks for Geeks (GFG) has emerged as a treasure trove of knowledge for tech enthusiasts, programmers, and learners alike. In this comprehensive gu...Gfg
Sujal Rajsagawood.hashnode.dev·Jul 14, 2023LEETCODE (Tips, Hacks & Avoid these mistakes)So firstly I want to say that stop watching youtube videos about DSA vs DEV, it's actually not about DSA vs DEV, it's always about DSA with DEV. There is a question that I always heard about how DSA is helpful for my journey, I want to answer it in a...4 likes·35 readsleetcode
Bhanu Prakash Dixitbhanuprakash1.hashnode.dev·Mar 18, 2023Cryptography and roles into Blockchain Development ⛓️Hello, I am here to write my first blog and this is going to be on Cryptography which is important to understand while learning Blockchain Development. Cryptography is used to secure transactions taking place between two nodes in a blockchain network...1 like·43 readsGfg
Rohit Guptarohitguptaindu.hashnode.dev·Jan 22, 2023Reverse a string or arrayProblem Statement You have given a string A. Your task is to reverse that string. Example input: Developersway output: yawsrepoleveD Approaches Approach 1 Create an empty string B. Then iterate over string A from its end to the start for each of ...153 readsSolutions of DSA Sheet by LOVE BABBARreverse string