Tiger's leetcode solution

Monday, August 24, 2020

554. Brick Wall -------------M

›
There is a brick wall in front of you. The wall is rectangular and has several rows of bricks. The bricks have the same height but different...
Saturday, August 22, 2020

875. Koko Eating Bananas ------------M ~~~~

›
Koko loves to eat bananas.  There are  N  piles of bananas, the  i -th pile has  piles[i]  bananas.  The guards have gone and will come back...

547. Friend Circles ------------M ~~~~~~~~~~~!!!

›
  There are   N   students in a class. Some of them are friends, while some are not. Their friendship is transitive in nature. For example, ...

567. Permutation in String -----------M

›
Given two strings  s1  and  s2 , write a function to return true if  s2  contains the permutation of  s1 . In other words, one of the first ...

611. Valid Triangle Number ------------M ~~~~~~~~~

›
  Given an array consists of non-negative integers, your task is to count the number of triplets chosen from the array that can make triangl...

526. Beautiful Arrangement -----------M

›
Suppose you have  n  integers labeled  1  through  n . A permutation of those  n  integers  perm  ( 1-indexed ) is considered a  beautiful a...

1339. Maximum Product of Splitted Binary Tree --------M ~~!!!!~

›
  Given a binary tree   root . Split the binary tree into two subtrees by removing 1 edge such that the product of the sums of the subtrees ...
‹
›
Home
View web version

About Me

Tiger
View my complete profile
Powered by Blogger.