## How to validate SSN (Social Security Number) using Regular Expression

Given a string str, the task is to check whether the given string is valid SSN (Social Security Number) or not by using Regular Expression.… 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
- Check if left and right shift of any string results into given string
- Print the first N terms of the series 6, 28, 66, 120, 190, 276, ...
- Program to print the pattern 1020304017018019020 **50607014015016 ****809012013 ******10011...
- Number of ways to place two queens on a N*N chess-board
- Find the Nth Pure number
- Construct an Array of size N in which sum of odd elements is equal to sum of even elements
- Print Triangle separated pattern
- Real time optimized KMP Algorithm for Pattern Searching
- Count of total Heads and Tails after N flips in a coin
- Removing string that is an anagram of an earlier string
- Program to print a Hollow Triangle inside a Triangle
- Longest palindromic string possible after removal of a substring
- Minimize number of cuts required to break N length stick into N unit length sticks
- Find strings that end with a given suffix
- Convert camel case string to snake case in Java
- Reverse the substrings of the given String according to the given Array of indices
- 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 all sub-strings with weight of characters atmost K
- Count of all unique substrings with non-repeating characters
- How to validate PAN Card number using Regular Expression
- Find length of longest substring with at most K normal characters
- Split the given string into Odds: Digit DP
- 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

Given a string str, the task is to check whether the given string is valid SSN (Social Security Number) or not by using Regular Expression.… Read More »

Given an integer N denoting a N * N chess-board, the task is to count the number of ways to place two queens on the… Read More »

Given an array arr[] of length N, the task is to minimize the count of the number of non-zero elements by adding the value of… Read More »

Given a string S, the task is to check whether the string can be typed using only a single row of the qwerty keyboard. Examples:… Read More »

Given an array arr[] of N strings, the task is to sort these strings according to the numbers of sticks required to represent them. Examples:… Read More »

Given a string str, the task is to check whether the given string is valid image file extension or not by using Regular Expression. The… Read More »

Given a string str, the task is to check whether the given string is a valid Aadhar number or not by using Regular Expression. The… Read More »

Given two non-negative integers M, N which signifies the range [M, N] where M ≤ N, the task is to find the last digit of… Read More »

Given an array arr[] of length N such that (1 <= arr[i] <= N), the task is to modify the array, by only inserting elements… Read More »

Given a number N, the task is to find the N integer values of Xi such that X1 < X2 < … < XN and… Read More »

Given an array arr[] of N integers and an integer K, the task is to find the minimum and maximum of all subarrays of size… Read More »

Given an array arr[] of N integers, the task is to find the sum of all elements between two zeros in the given array. If… Read More »

Given a number N, the task is to find the Nth term of the series 2, 15, 41, 80, 132…. Examples: Input: N = 2… Read More »

Given an array arr[] of N integers, the task is to choose the two subsequences of equal lengths such that first subsequence must have all… Read More »

Given a list of characters and an array of strings, find the total length of all strings in the array of strings that can be… Read More »