code test
code test
com/java-coding-interview-questions/
#Question_2_Write_a_java_program_to_check_if_two_Strings_are_anagram_in_java
https://javaconceptoftheday.com/java-program-to-reverse-a-string/
String
Rotten Oranges
Alien Dictionary
Find the number of islands
Check a graph is Hamiltonian or not (Hamiltonian path)
Knight walk problem
Floyd Warshall Algorithm
Minimum Spanning Tree
PPATH - Prime Path Problem
Binary search
Matrix
Number Theory
Sieve of Eratosthenes
Matrix Exponentiation
GCD Queries - Greatest Common Divisor Problem
PPATH - Prime Path Problem
Bitwise operators
Game of XOR
Puzzle
String Matrix
Tug of War
Backtracking to find all subsets
Find out the sum-string
Power Set in Lexicographic order
Fill 8 numbers in a matrix
Partition a set into k subset with equal sum
Combinational sum problem
Combinational sum problem with repetition of digits
Match a pattern and String without using regular expressions
Warnsdorff's algorithm for Knight's tour problem
Partition to K Equal Sum Subsets
Print all possible path from source to destination
N-Queen Problem
Print all subsequences of a string
Count Unique Path
Iterative approach
Find the largest palindromic substring using O(1) space complexity
Trie Data Structure
Matrix Probability
Segment Tree
Redundant Bracket
Rain Water Trapping Problem
Longest Prefix and Suffix
Fencing Problem
Constructing the Array
Merge K Sorted Arrays
Set Matrix Zeroes
GCD Queries - Greatest Common Divisor Problem
Google contests
Level 1
Reverse words in a given string
Longest Common Prefix
Roman Number to Integer
Integer to Roman
Closest Strings
Divisible by 7
Encrypt the String – II
Equal point in a string of brackets
Isomorphic Strings
Check if two strings are k-anagrams or not
Panagram Checking
Minimum Deletions
Number of Distinct Subsequences
Check if string is rotated by two places
Level 2
Implement Atoi
Validate an IP address
License Key Formatting
Find largest word in dictionary
Equal 0,1, and 2
Find and replace in String
Add Binary Strings
Sum of two large numbers
Multiply two strings
Look and say Pattern
Minimum times A has to be repeated to make B a Substring
Excel Sheet – I
Form a Palindrome
Find the N-th character
Next higher palindromic number using the same set of digits
Length of longest prefix suffix
Longest K unique characters substring
Smallest window in string containing all characters
Longest Palindromic Subsequence
Longest substring without repeating characters
Substrings of length k with k-1 distinct elements
Count number of substrings
Interleaved Strings
Print Anagrams together
Rank the permutation
A Special Keyboard
Level 3
Restrictive Candy Crush
Edit Distance
Search Pattern (KMP-Algorithm)
Search Pattern (Rabin-Karp Algorithm)
Search Pattern (Z-algorithm)
Shortest Common Supersequence
Number of words with K maximum distinct vowels
Longest substring to form a Palindrome
Longest Valid Parenthesis
Distinct Palindromic Substrings
Related Articles:
Top 50 Array Coding Problems for Interviews
Top 50 Tree Coding Problems for Interviews
Top 50 Dynamic Programming Coding Problems for Interviews
Like
0
Previous
Difference between message queues and mailboxes
Next
Difference between LAMP stack and LEMP stack?
RECOMMENDED ARTICLES
Page :
1
2
3
MakeMyTrip Interview Experience | Set 6 (Online Coding)
23, Aug 15
TCS National Qualifier 2 Coding Question.
03, Sep 18
Count characters of a string which when removed individually makes the string equal
to another string
09, Jun 21
String matching where one string contains wildcard characters
11, Apr 13
Check if a string can become empty by recursively deleting a given sub-string
08, Nov 16
Sort a string according to the order defined by another string
01, Dec 16
Check if a string can be obtained by rotating another string 2 places
16, Mar 17
String slicing in Python to check if a string can become empty by recursive
deletion
11, Nov 17
Find the character in first string that is present at minimum index in second
string
07, Jul 17
Check if a given string is sum-string
25, Aug 17
Lexicographically smallest string whose hamming distance from given string is
exactly K
17, Oct 17
Decode a median string to the original string
01, Nov 17
String slicing in Python to rotate a string
23, Nov 17
Check whether second string can be formed from characters of first string
13, Dec 17
Count subsequences in first string which are anagrams of the second string
28, Dec 17
Create a new string by alternately combining the characters of two halves of the
string in reverse
16, Jan 18
Convert the string into palindrome string by changing only one character
22, Jan 18
Find if a string starts and ends with another given string
23, Feb 18
Minimal moves to form a string by adding characters or appending string itself
26, Mar 18
Convert Hexadecimal value String to ASCII value String
22, May 18
Lexicographically smallest string formed by appending a character from the first K
characters of a given string
20, Jul 18
Minimum length of string having all permutation of given string.
07, Oct 18
Minimum changes required to make first string substring of second string
17, Oct 18
Check if a string contains a palindromic sub-string of even length
10, Nov 18
Article Contributed By :
https://media.geeksforgeeks.org/auth/avatar.png
GeeksforGeeks
Vote for difficulty
Current difficulty : Medium
Easy
Normal
Medium
Hard
Expert
Article Tags :
Strings
Practice Tags :
Strings
Improve Article
Report Issue
Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share
the link here.
Load Comments
WHAT'S NEW
DSA Live Classes for Working Professionals
DSA Live Classes for Working Professionals
View Details
Competitive Programming Live Classes for Students
Competitive Programming Live Classes for Students
View Details
Complete Interview Preparation Course
Complete Interview Preparation Course
View Details