Convert Decimal number between 1 to 3999 to Roman numbers
Convert Decimal number between 1 to 3999 to Roman numbers
Number of Distinct Subsequences
Given a string, find counts of distinct subsequences of it.
Given a number N, check if it is divisible by 7 or not.
Given a number {data}, check if it is divisible by 7 or not without using modulo operator and floating point arithmetic.
Given a string, encrypt it by replacing sequences of same character with the character plus hexadecimal value of the length of the character. Return reversed string of the whole string. E.g., bbb will be 3b.
Find equal point of brackets in a string
Given a string of brackets, find an index where the number of opening brackets is equal to the number of closing brackets.
Check if two strings, str1 and str2, isomorphic by checking if there is a one-to-one mapping for every character of str1 to every character of str2.
Check if two strings are k-anagrams or not
Given two strings and a value k, find if the two strings are K-anagrams or not. Two strings are k-anagrams when they have same length of characters, and are anagram by changing at most k characters in a string.
Find longest common prefix in list of strings
Given a list strings, find longest common prefix in list of strings
Find minimum distance between the given two words
Find the minimum distance between word 1 and word 2 in the list of words.
Find minimum number of deletions to make a string palindrome
Given a string, delete the minimum number of characters from the string to make the string a palindrome. A palindrome is a sequence of characters that reads the same backward as forward.
Given a string s, check if it is Pangram or not. A pangram is a sentence containing all letters of the English Alphabet.
Reverse words in a string, e.g., output of hello.new..world is world.new.hello
Convert Roman number to integer
Convert Roman number to integer
Check if string is rotated by two places
Given two strings, str1 and str2, check if str2 can be obtained by rotating str1 exactly 2 places in either a clockwise or anticlockwise direction.