
Leetcode
文章平均质量分 93
西西阿西哥
从零开始的信息世界生活
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 2976 Minimum Cost to Convert String I
You are given two 0-indexed strings, and , both of length and consisting of lowercase English letters. You are also provided with two 0-indexed character arrays, and , and an integer array , where represents the cost of changing the character to the c原创 2024-07-27 12:19:36 · 550 阅读 · 0 评论 -
Leetcode 1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance
What is ?Matrix Initialization: There are cities numbered from to . Given an array where represents a bidirectional and weighted edge between cities and , and given an integer , return the city with the smallest number of cities that are reachable thr原创 2024-07-26 14:31:49 · 713 阅读 · 0 评论