exercises - Cracking the coding interview
chapter 1 - arrays and strings
-
Problem 1.1 - Determine whether all characters in a given string are unique
-
Problem 1.2 - Determine whether one string is a permutation of another
-
Problem 1.3 - URLify: Convert all spaces in a string to '%20'
-
Problem 1.4 - Determine whether a given string is a permutation of a palindrome
-
Problem 1.5 - Given two strings, determine whether it only takes 1 edit (replace, add, remove) to make them the same
-
Problem 1.6 - Compress a string based on repeated characters
-
Problem 1.7 - Rotate an N x N image matrix 90 degrees
-
Problem 1.8 - Zero out the row and column of an M x N matrix wherever a value of 0 occurs
-
Problem 1.9 - Determine whether a given string is a rotation of another string
Problem 1.1 - Determine whether all characters in a given string are unique
Problem 1.2 - Determine whether one string is a permutation of another
Problem 1.3 - URLify: Convert all spaces in a string to '%20'
Problem 1.4 - Determine whether a given string is a permutation of a palindrome
Problem 1.5 - Given two strings, determine whether it only takes 1 edit (replace, add, remove) to make them the same
Problem 1.6 - Compress a string based on repeated characters
Problem 1.7 - Rotate an N x N image matrix 90 degrees
Problem 1.8 - Zero out the row and column of an M x N matrix wherever a value of 0 occurs
Problem 1.9 - Determine whether a given string is a rotation of another string