Fan’s Blog
  • System Design
  • AIML Wizard
  • Algorithm
  • Coding
  • Index
System Design
AIML Wizard
Algorithm
Coding
Index

Tag

概率

  • [Leetcode 398] 随机数索引

    给定一个可能含有 重复元素 的整数数组 nums。随机等概率地输出一个值等于 target 的索引。

    #哈希#概率#水塘抽样
Fan Luo

Fan’s Blog

Fan Luo
Info
About
Contact
Links
GitHub
LinkedIn
© 2026 Fan Luo. All rights reserved.