zoukankan      html  css  js  c++  java
  • 1:数组和字符串

    【String】

    1:Brust-Force

      char* Strstr(const char *str, const char *target){...}

    2:Rabin-Karp

      【Array】

        int array[M][N];

        void func(int arr[M][N]}{ //

        int **array =new int*[M]; // (int**)malloc(M * sizeof(int*));

        for(int i =0; i < M; i++)

           array[i] - new int[N];  //(int*)malloc(N * sizeof(int));

        void func(int **arr, int M, int N){}

      【Hash Table】

        主要用于基于"Key"的查找。

        Insert、Delete,Find - O(1)

        碰撞-Open Hashing vs Closed Hashing

    作者:长风 Email:844064492@qq.com QQ群:607717453 Git:https://github.com/zhaohu19910409Dz 开源项目:https://github.com/OriginMEK/MEK 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利. 感谢您的阅读。如果觉得有用的就请各位大神高抬贵手“推荐一下”吧!你的精神支持是博主强大的写作动力。 如果觉得我的博客有意思,欢迎点击首页左上角的“+加关注”按钮关注我!
  • 相关阅读:
    android 图片全屏
    .9.png
    C++中的endl
    C++输入输出cin与cout
    word-search
    Java中的的画正三角方法
    octave中的一些基本操作
    C#中判断语句 if、if-else if、switch-case
    C#中的异常处理(try-catch的使用)——使程序更加稳定
    编程&blog处女篇-用C#求100以内的质数
  • 原文地址:https://www.cnblogs.com/zhaohu/p/8525844.html
Copyright © 2011-2022 走看看