Linked List Cycle
Linked List Cycle: Given head, the head of a linked list, determine if the linked list has a cycle in it.
Linked List Cycle: Given head, the head of a linked list, determine if the linked list has a cycle in it.
Best Time To Buy And Sell Stock: You are given an array prices where prices[i] is the price of a given stock on the ith day.
Average of Levels in Binary Tree: Given the root of a binary tree, return the average value of the nodes on each level in the form of an array.
Combination Sum II: Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numbers sum to target.
Combination Sum: Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target.
Combinations: Given two integers n and k, return all possible combinations of k numbers chosen from the range [1, n]. You may return the answer in any order. Example 1:…