…
Count unique Strings by replacing Consonant with closest Vowel and vice versa
Given a string S consisting of lowercase English alphabets, of length N, the task is to find the total number of distinct strings that can… Read More
The post Count unique Strings by replacing Consonant with closest Vowel and vice versa appeared first on GeeksforGeeks. …
Can Run Time Complexity of a comparison-based sorting algorithm be less than N logN?
Sorting algorithms are the means to sort a given set of data in an order according to the requirement of the user. They are primarily… Read More
The post Can Run Time Complexity of a comparison-based sorting algorithm be less than N logN? appeared first on…
Maximum possible pair sum at most K from two Arrays
Given two arrays arr1[] and arr2[] of sizes N and M and an integer K, the task is to find the maximum possible sum pair… Read More
The post Maximum possible pair sum at most K from two Arrays appeared first on GeeksforGeeks. …
Minimize jumps to reach X by jumping K positions or 1 position
Given two values X and K, the task is to minimize the number of jumps to reach X from 0 by jumping K positions or… Read More
The post Minimize jumps to reach X by jumping K positions or 1 position appeared first on GeeksforGeeks. …
Is String a Primitive or a Derived Type?
In this article, we are going to discuss whether String is a primitive data type or a Derived data type. Definitely, String is not a… Read More
The post Is String a Primitive or a Derived Type? appeared first on GeeksforGeeks. …
Applications, Advantages and Disadvantages of Trie
Trie(pronounced as “try”): Trie(also known as the digital tree or prefix tree) is a sorted and efficient tree-based special data structure that is used to… Read More
The post Applications, Advantages and Disadvantages of Trie appeared first on GeeksforGeeks. …
Moment.js moment.duration().weeks() Method
The moment().duration().weeks() method is used to get the weeks of the duration. This number of weeks is calculated as a subset of the days, therefore… Read More
The post Moment.js moment.duration().weeks() Method appeared first on GeeksforGeeks. …