## Check if a string can be split into substrings starting with N followed by N characters

Given a string str, the task is to check if it can be split into substrings such that each substring starts with a numeric value… Read More »

- What is a Webcrawler and where is it used?
- Last digit of sum of numbers in the given range in the Fibonacci series
- Check if the given string is shuffled substring of another string
- Sort the strings based on the numbers of matchsticks required to represent them
- Longest Palindrome in a String formed by concatenating its prefix and suffix
- Minimum and Maximum of all subarrays of size K using Map
- Print the first N terms of the series 6, 28, 66, 120, 190, 276, ...
- Program to print the pattern 1020304017018019020 **50607014015016 ****809012013 ******10011...
- Check if left and right shift of any string results into given string
- Real time optimized KMP Algorithm for Pattern Searching
- Find the Nth Pure number
- Number of ways to place two queens on a N*N chess-board
- Removing string that is an anagram of an earlier string
- Print Triangle separated pattern
- Construct an Array of size N in which sum of odd elements is equal to sum of even elements
- Count of total Heads and Tails after N flips in a coin
- Program to print a Hollow Triangle inside a Triangle
- Minimize number of cuts required to break N length stick into N unit length sticks
- Longest palindromic string possible after removal of a substring
- Count of binary strings of length N having equal count of 0's and 1's and count of 1's ≥ count of 0's in each prefix substring
- Count of all unique substrings with non-repeating characters
- Convert camel case string to snake case in Java
- Find strings that end with a given suffix
- Reverse the substrings of the given String according to the given Array of indices
- How to check if string contains only digits in Java
- Find length of longest substring with at most K normal characters
- Prime Fibonnaci | TCS Mockvita 2020
- Longest substring with atmost K characters from the given set of characters
- Program to build a DFA to accept strings that start and end with same character
- How to validate PAN Card number using Regular Expression

Given a string str, the task is to check if it can be split into substrings such that each substring starts with a numeric value… Read More »

Given three integers X, Y and N, the task is to find the largest number possible of length N consisting only of X and Y… Read More »

Given a positive integer N, the task is to find the sum of divisors of all the numbers from 1 to N. Examples: Input: N… Read More »

Given two numbers K and N. The task is to represent the given number K as a sum of several N-bonacci numbers. Examples: Input: K… Read More »

Given a string S of length N, consisting of only opening ‘(‘ and closing ‘)‘ parenthesis. The task is to find all indices ‘K‘ such… Read More »

Given a string S of size N, the task is to count the occurrences of all the prefixes of the given string S. Examples: Input:… Read More »

Given a positive integer N, the task is to find out the sum of all consecutive bit differences from 0 to N. Note: If the bit… Read More »

Given a positive integer N and K, the task is to divide N into K parts such that the first part has a value X,… Read More »

Given a string S, the task is to find the number of ways to split the given string S into two non-empty palindromic strings. Examples:… Read More »

Given a 2D grid of size N x M. The task is to find the final direction after visiting every cell under given conditions. You… Read More »

Given a number N, the task is to find the smallest number whose square has N digits. Examples: Input: N = 2 Output: 4 Explanation:… Read More »

Given a string str, the task is to check if that string is a Bitonic String or not. If string str is Bitonic String then… Read More »

Given a number N, the task is to find a pair of integers in the range [2, N] with maximum GCD. Examples: Input: N =… Read More »

Given an array arr[] consisting of N elements and an integer P, the task is to find the initial array from which given arr[] is… Read More »

Given an integer N, the task is to make an array of unique elements of length N such that all subarrays sum modulo N equals… Read More »