You are given two integer arrays nums1 and nums2, sorted in non-decreasing orde...
Given an integer array nums and an integer val, remove all occurrences of val i...
You have a long flowerbed in which some of the plots are planted, and some are...
You are given two non-empty linked lists representing two non-negative integers...
Given a string s, check if it can be constructed by taking a substring of it an...
Given an integer array nums, rotate the array to the right by k steps, where k...
Given an array nums of size n, return the majority element. The majority elemen...
Given an integer array nums sorted in non-decreasing order, remove the duplicat...
You are given an integer array prices where prices[i] is the price of a given s...
Roman numerals are represented by seven different symbols: I, V, X, L, C, D and...