Find duplicate parenthesis in an expression
Given a balanced expression that can contain opening and closing parenthesis, check if the expression contains any duplicate parenthesis or not.
Ace your Coding Interview
Get hired by top tech companies with our comprehensive interview preparation.
Get StartedGiven a balanced expression that can contain opening and closing parenthesis, check if the expression contains any duplicate parenthesis or not.
Given a string containing opening and closing braces, check if it represents a balanced expression or not.
Write a program to determine if a given string is palindrome or not. A palindromic string is a string that remains the same with its characters reversed.
Given a list of strings where no string is a substring of another, find the shortest string that contains each string in the list as a substring.
This post will discuss the difference between a subarray, a substring, a subsequence, and a subset.
Write a recursive program to efficiently reverse a given string in C, C++, and Java.
Write an iterative program to reverse a string in C++ and Java.