Giter Club home page Giter Club logo

data_structure's Introduction

生命就像一本书,要想体验完整的故事,就必须一页一页地翻阅,不断前行。---张爱玲

个人介绍

  • 爱读书, 截止到目前累计阅读字数超过 3000 万字。
  • 爱编程, 多语言开发者,使用过 C、C++、Python、JAVA, 写过网页、Android APP、PC 桌面应用程序。
  • 爱写作, 截止到目前发表文字数超 3 万字。

网络足迹

技能树

  • 后端: C++/Python/Java/Qt
  • AI: PyTorch/TensorFlow/YOLO
  • 前端: HTML/CSS/JavaScript/Vue/React/Angular
  • 运维: docker/kubernetes
  • 数据库: sqlite/mysql/redis/mongoDB
  • 其他: linux/麒麟系统/FPGA/git

data_structure's People

Contributors

yhw-miracle avatar

Watchers

 avatar

data_structure's Issues

生成所有六位 RGB 颜色值

    1. 暴力法,直接嵌套6个循环语句,时间复杂度为O(n^6),太低效了,不可采取。
def generate_color_way01():
    """
    生成所有六位`RGB`颜色,复杂度为:O(n^6),不可取
    :return:
    """
    all_ch = string.digits + string.ascii_uppercase[0:6]
    print(all_ch)

    color_list = []
    for ch1 in all_ch:
        for ch2 in all_ch:
            for ch3 in all_ch:
                for ch4 in all_ch:
                    for ch5 in all_ch:
                        for ch6 in all_ch:
                            color_list.append(ch1 + ch2 + ch3 + ch4 + ch5 + ch6)

    return color_list

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.