Write a function to find the longest common prefix string amongst an arr...
Roman numerals are represented by seven different symbols: I, V, X, L, C...
Roman numerals are represented by seven different symbols: I, V, X, L, C...
Given n non-negative integers a1, a2, ..., an , where each represents a ...
Given an input string (s) and a pattern (p), implement regular expressio...
Determine whether an integer is a palindrome. An integer is a palindrome...
Implement atoi which converts a string to an integer. The function first...
Given a 32-bit signed integer, reverse digits of an integer. Example 1: ...
The string "PAYPALISHIRING" is written in a zigzag pattern on a given nu...