Manas Upadhyay
Manas Upadhyay
  • 119
  • 49 613

Відео

trees speed run
Переглядів 3314 днів тому
trees speed run
1400. Construct K Palindrome Strings Leetcode || Using frequency array
Переглядів 2121 день тому
question link: leetcode.com/problems/construct-k-palindrome-strings/submissions/1504856065/?envType=daily-question&envId=2025-01-11 solution link: leetcode.com/problems/construct-k-palindrome-strings/solutions/6263668/count-of-odds-k-return-false-or-slengthk-g60t Time:O(s.length()) Space: O(1)
916. Word Subsets Leetcode || Using Frequency Array
Переглядів 1021 день тому
problem statement: leetcode.com/problems/word-subsets/description/ Solution Link: leetcode.com/problems/word-subsets/solutions/6258540/use-a-frequency-array-update-max-frequency-in-the-ret-array-compare-with-word-2-string-array Time O(n m) // n length of words1, m of words2 array Space O(1)
Boeing 747-8F
Переглядів 872 місяці тому
Boeing 747-8F
706. Design HashMap & 557. Reverse Words in a String III Leetcode
Переглядів 434 місяці тому
706. Design HashMap & 557. Reverse Words in a String III Leetcode
1310. XOR Queries of a Subarray Leetcode
Переглядів 104 місяці тому
XOR logic - suppose you have a^b^c^d^e and you need to only find value of c^d^e, xor it with a^b( index of this is prefix array will be at pref[queries[currentindex][0]-1]. Time complexity O(m n) where m is size of array and n of queries. Solution: leetcode.com/problems/xor-queries-of-a-subarray/solutions/5781303/use-xor-property/
#ARRAYS 1]- 88. Merge Sorted Array Leetcode
Переглядів 184 місяці тому
#ARRAYS 1]- 88. Merge Sorted Array Leetcode
958. Check Completeness of a Binary Tree (BFS) Leetcode
Переглядів 304 місяці тому
code-: leetcode.com/problems/check-completeness-of-a-binary-tree/solutions/5764028/to-check-the-last-level-apply-the-operations-on-the-level-1-nodes-to-check-last-level-nodes/
2326. Spiral Matrix IV Leetcode
Переглядів 214 місяці тому
leetcode.com/problems/spiral-matrix-iv/solutions/5762259/simulation/ Coloumnlast is less than coloumnfirst
725. Split Linked List in Parts Leetcode
Переглядів 244 місяці тому
leetcode.com/problems/split-linked-list-in-parts/solutions/5754563/mathematics/
1367. Linked List in Binary Tree Leetcode
Переглядів 554 місяці тому
Shift the linkedist into a List Apply DFS After reaching LeafNode, apply check method where you check if the list is present in the Path( i have used Collections.indexOfSubList() method). Check the global variable if found the linkedlist in the tree.
3217. Delete Nodes From Linked List Present in Array Leetcode
Переглядів 294 місяці тому
3217. Delete Nodes From Linked List Present in Array Leetcode
2028. Find Missing Observations Leetcode (RAW Problem Solving)
Переглядів 474 місяці тому
2028. Find Missing Observations Leetcode (RAW Problem Solving)
874. Walking Robot Simulation Leetcode (Approach)
Переглядів 155 місяців тому
874. Walking Robot Simulation Leetcode (Approach)
Codeforces Round 970 (Div. 3) /Prob2(Bug Fixed: Boundary Check for O's)
Переглядів 325 місяців тому
Codeforces Round 970 (Div. 3) /Prob2(Bug Fixed: Boundary Check for O's)
Codeforces round 970 div3 (prob1 +prob2)
Переглядів 435 місяців тому
Codeforces round 970 div3 (prob1 prob2)
1305. All Elements in Two Binary Search Trees
Переглядів 325 місяців тому
1305. All Elements in Two Binary Search Trees
100. Same Tree LeetCode
Переглядів 75 місяців тому
100. Same Tree LeetCode
700. Search in a Binary Search Tree
Переглядів 155 місяців тому
700. Search in a Binary Search Tree
[Debugged, issue: Suffix array construction] 538. Convert BST to Greater Tree LeetCode
Переглядів 325 місяців тому
[Debugged, issue: Suffix array construction] 538. Convert BST to Greater Tree LeetCode
[Failed Attempt,can watch only for approach] 538 Convert BST to Greater Tree LeetCode Part 1 (Hindi)
Переглядів 235 місяців тому
[Failed Attempt,can watch only for approach] 538 Convert BST to Greater Tree LeetCode Part 1 (Hindi)
Some Amazon Array Problems GFG
Переглядів 515 місяців тому
Some Amazon Array Problems GFG
2265. Count Nodes Equal to Average of Subtree LeetCode
Переглядів 215 місяців тому
2265. Count Nodes Equal to Average of Subtree LeetCode
1038. Binary Search Tree to Greater Sum Tree Leetcode
Переглядів 875 місяців тому
1038. Binary Search Tree to Greater Sum Tree Leetcode
bread
Переглядів 65Рік тому
bread
hard landing ( Beijing AIRindia )
Переглядів 81Рік тому
hard landing ( Beijing AIRindia )
RFS dubai to beijing AIRIndia
Переглядів 62Рік тому
RFS dubai to beijing AIRIndia
hermes pagani huayra | GamePlay
Переглядів 21Рік тому
hermes pagani huayra | GamePlay

КОМЕНТАРІ