LIKE CODING

Monday, April 26, 2021

Range product (Binary Index Tree)

›
 arr = [1,2,3,4,5,6,7]. return the sub array product [i, j]. https://iq.opengenus.org/fenwick-tree-range-product/ 1 2 3 4 5 6 7 8 ...
Thursday, April 15, 2021

LeetCode [1448] Count Good Nodes in Binary Tree

›
  1448.   Count Good Nodes in Binary Tree Medium 661 32 Add to List Share Given a binary tree  root , a node  X  in the tree is named  good ...
Saturday, April 3, 2021

LeetCode [938] Range Sum of BST

›
  938.   Range Sum of BST Easy 2214 289 Add to List Share Given the  root  node of a binary search tree, return  the sum of values of all no...
Friday, April 2, 2021

LeetCode [1570] Dot Product of Two Sparse Vectors

›
  1570.   Dot Product of Two Sparse Vectors Medium 235 38 Add to List Share Given two sparse vectors, compute their dot product. Implement c...
Thursday, April 1, 2021

LeetCode [680] Valid Palindrome II

›
  680.   Valid Palindrome II Easy 2453 152 Add to List Share Given a non-empty string  s , you may delete  at most  one character. Judge whe...

LeetCode [1249] Minimum Remove to Make Valid Parentheses

›
  1249.   Minimum Remove to Make Valid Parentheses Medium 1951 46 Add to List Share Given a string  s  of  '('  ,  ')'  and ...
‹
›
Home
View web version
Powered by Blogger.