Problem Description Given an input string (s) and a pattern (p), impleme...
Implement atoi which converts a string to an integer. The function first...
Problem DescriptionGiven a 32-bit signed integer, reverse digits of an i...
Problem Description There are two sorted arrays nums1 and nums2 of size ...
Problem Description The string "PAYPALISHIRING" is written in a zigzag p...
Given a string s, find the longest palindromic substring in s. You may a...
Problem Description Given a string, find the length of the longest subst...
Problem Description You are given two non-empty linked lists representin...
Problem Description You are playing the following Nim Game with your fri...