注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
本帖最后由 tomzhawang 于 2023-2-2 10:28 编辑
Please give me rice :)
Coding Questions:
Suppose you are in a grid with your friends:
"100000"
"020000"
"202020"
"002002"The 1 represents your position. The 2s represent the position o您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 使用VIP即刻解锁阅读权限或查看其他获取积分的方式 游客,您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 VIP即刻解锁阅读权限 或 查看其他获取积分的方式 question. Make a tree from all the pairs of friends. Use a Union Find or Bellman-Ford. |