Skip to content

Tag Archives: C-String-Question

Given string str, the task is to check whether the given string is linear or not. If it is linear then print “Yes” else print… Read More
Hash Function A Hash function is a function that maps any kind of data of arbitrary size to fixed-size values. The values returned by the… Read More
Given a binary string S, and an integer K, the task is to find the minimum number of flips required such that every substring of… Read More
In this article, we will create our custom string class which will have the same functionality as the existing string class.The string class has the… Read More
Given 3 positive integers N, M, and K. the task is to construct a string of length N consisting of lowercase letters such that each… Read More
Given a string str, the task is to find the XOR of ASCII values of characters in the string.Examples:   Input: str = “Geeks” Output: 95 ASCII value… Read More
Given a tree, and the weights (in the form of strings) of all the nodes, the task is to count the nodes whose weighted string… Read More
Given two integers n1 and n2, the task is to concatenate these two integers into one integer.Example:   Input: n1 = 12, n2 = 34 Output:… Read More
Given a string str, the task is to find the sum of the similarities of str with each of its suffixes. The similarity of strings A… Read More
You are given two strings A and B. Strings also contains special character * . you can replace * with any alphabetic character. Finally, you… Read More
Given a binary string composed of 0’s and 1’s. The task is to find the number of unique permutation of the string which starts with… Read More
Given a string str. The task is to find the length of the string.  Examples:   Input: str = "Geeks" Output: Length of Str is :… Read More
Given an array. The task is to generate and print all of the possible subsequences of the given array using recursion. Examples:  Input : [1,… Read More
Given a number N, the task is to check whether it is fascinating or not. Fascinating Number: When a number( 3 digits or more ) is… Read More
Given an array of integers arr[] represents digits of a number. The task is to write a program to generate the largest number possible using… Read More

Start Your Coding Journey Now!