xinyu04

导航

2022年7月15日 #

LeetCode Largest Rectangle in Histogram 思维

摘要: Given an array of integers heights representing the histogram's bar height where the width of each bar is $1$, return the area of the largest rectangl 阅读全文

posted @ 2022-07-15 22:17 Blackzxy 阅读(12) 评论(0) 推荐(0) 编辑

LeetCode Longest Increasing Path in a Matrix 记忆化搜索+DP [Hard]

摘要: Given an $m \times n$ integers matrix, return the length of the longest increasing path in matrix. From each cell, you can either move in four directi 阅读全文

posted @ 2022-07-15 05:09 Blackzxy 阅读(14) 评论(0) 推荐(0) 编辑