📄️ Two Sum
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
📄️ Palindrome
Given an integer x, return true if x is a palindrome, and false otherwise.
📄️ Roman to integer
Convert the given roman numeral string into integer
📄️ Square Root
Given a non-negative integer x, return the square root of x rounded down to the nearest integer. The returned integer should be non-negative as well.
📄️ Longest common prefix
Write a function to find the longest common prefix string amongst an array of strings.
📄️ Valid Parentheses
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
📄️ Merge two sorted lists
You are given the heads of two sorted linked lists list1 and list2.
📄️ Add binary
Given two binary strings a and b, return their sum as a binary string.
📄️ Remove duplicates from sorted list
Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well.
📄️ Maximum Depth of binary tree
Given the root of a binary tree, return its maximum depth.
📄️ Find Pivot Index
Given an array of integers nums, calculate the pivot index of this array.
📄️ Maximum Average Subarray I
You are given an integer array nums consisting of n elements, and an integer k.
📄️ Move Zeros
Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.
📄️ Greatest common divisor of strings
For two strings s and t, we say "t divides s" if and only if s = t + ... + t (i.e., t is concatenated with itself one or more times).
📄️ Can place flowers
You have a long flowerbed in which some of the plots are planted, and some are not. However, flowers cannot be planted in adjacent plots.
📄️ Reverse vowels of a string
Given a string s, reverse only all the vowels in the string and return it.
📄️ Best time to buy & sell stock
You are given an array prices where prices[i] is the price of a given stock on the ith day.