This is Yizhe's Blog

Hello, welcome to Yizhe's Blog. I am Yizhe Liu, graduated from University of Arizona, with Master degree, major in Electrical and Computer Engineering. Actually, I am software guy. In my blog, many posts are about the Leetcode questions. I will post my ideas and implementations, which are accepted by Leetcode. If you have different opinions, please leave comment. I am happy to discuss with you. So lets start rocking them!!!

Sunday, February 7, 2021

265. Paint House II

›
There are a row of   n   houses, each house can be painted with one of the   k   colors. The cost of painting each house with a certain colo...
Saturday, February 6, 2021

611. Valid Triangle Number

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

721. Accounts Merge

›
Given a list  accounts , each element  accounts[i]  is a list of strings, where the first element  accounts[i][0]  is a  name , and the rest...

277. Find the Celebrity

›
Suppose you are at a party with  n  people (labeled from  0  to  n - 1 ), and among them, there may exist one celebrity. The definition of a...

528. Random Pick with Weight

›
ou are given an array of positive integers  w  where  w[i]  describes the weight of  i th   index (0-indexed). We need to call the function ...
›
Home
View web version

About Me

Yizhe
View my complete profile
Powered by Blogger.