您当前的位置: 首页 >  数据结构与算法

星拱北辰

暂无认证

  • 0浏览

    0关注

    1205博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

【数据结构与算法】平方探测法散列表的Java实现

星拱北辰 发布时间:2020-02-23 16:21:41 ,浏览量:0

QuadraticProbingHashTable核心功能设计
  • boolean insert(x) → Insert x.
  • boolean remove(x) → Remove x.
  • boolean contains(x) → Return true if x is present.
  • void makeEmpty() → Remove all items.
QuadraticProbingHashTable编程实现
/**
 * Probing table implementation of hash tables.
 * Note that all "matching" is based on the equals method.
 */
public class QuadraticProbingHashTable {
   

    private static fina
关注
打赏
1660750074
查看更多评论
立即登录/注册

微信扫码登录

0.0594s