Upgrade to remove ads
Arrays and Strings
Terms in this set (4)
Longest Common Substring
Given two strings 'X' and 'Y', find the length of the longest common substring.
Is Unique: Implement an algorithm to determine if a string has all unique characters. What if you cannot use an additional data structure?
Check Permutation: Given two strings, write a method to decide if one is a permutation of the other.
URLify: Write a method to replace all spaces in a string with '%20'. You man assume that the string has sufficient space at the end to hold the additional characters, and that you are given the "true" length of the string.
THIS SET IS OFTEN IN FOLDERS WITH...
Math and Logic Puzzles
Recursion and Dynamic Programming
OTHER SETS BY THIS CREATOR
Amazon Leadership Principals
Java - Collections