Aanchal Patial·Jul 31, 2020Last Day of July LeetCode ChallengeYou are climbing a stair case. It takes n steps to reach to the top.
Aanchal Patial·Jul 31, 2020Day 30 of July LeetCode ChallengeGiven a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentence where…
Aanchal Patial·Jul 29, 2020Day 29 of July LeetCode ChallengeSay you have an array for which the ith element is the price of a given stock on day i.
Aanchal Patial·Jul 28, 2020Day 28 of July LeetCode ChallengeYou are given a char array representing tasks CPU need to do. It contains capital letters A to Z where each letter represents a different…
Aanchal Patial·Jul 27, 2020Day 27 of July LeetCode ChallengeGiven inorder and postorder traversal of a tree, construct the binary tree.
Aanchal Patial·Jul 26, 2020Day 25 of July LeetCode ChallengeSuppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.
Aanchal Patial·Jul 26, 2020Day 26 of July LeetCode ChallengeGiven a non-negative integer num, repeatedly add all its digits until the result has only one digit.
Aanchal Patial·Jul 24, 2020Day 24 of July LeetCode ChallengeGiven a directed, acyclic graph of N nodes. Find all possible paths from node 0 to node N-1, and return them in any order.
Aanchal Patial·Jul 23, 2020Day 23 of July LeetCode ChallengeGiven an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the…
Aanchal Patial·Jul 22, 2020Day 22 of July LeetCode ChallengeGiven a binary tree, return the zigzag level order traversal of its nodes’ values. (ie, from left to right, then right to left for the…