Category: string
A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down). Write a function to determine if a number is strobogrammatic. The …
You are given a license key represented as a string S which consists only alphanumeric character and dashes. The string is separated into N+1 groups by N dashes. Given …
Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This is case sensitive, for …
Given an array A of strings made only from lowercase letters, return a list of all characters that show up in all strings within the list (including duplicates). For …
Your task is to return an array (that contains integer numbers from 0 to N, N is the length of a given string S that contains only I or …