Problem Description Given an input string (s) and a pattern (p), implement regular expr...
Problem Description Given an input string (s) and a pattern (p), implement regular expr...
Implement atoi which converts a string to an integer. The function first discards as ma...
Problem DescriptionGiven a 32-bit signed integer, reverse digits of an integer. Example...
Problem Description There are two sorted arrays nums1 and nums2 of size m and n respect...
Problem Description The string "PAYPALISHIRING" is written in a zigzag pattern on a giv...
Given a string s, find the longest palindromic substring in s. You may assume that the ...
Problem Description Given a string, find the length of the longest substring without re...
Problem Description You are given two non-empty linked lists representing two non-negat...
Problem Description You are playing the following Nim Game with your friend: There is a...
Problem DescriptionRoman numerals are represented by seven different symbols: I, V, X, ...
Problem DescriptionWrite a function that takes a string as input and returns the string...
Problem Description Given an array of integers, return indices of the two numbers such ...
Problem Description We have two special characters. The first character can be represen...