background picture of the home page

Hi,Friend

以技术为主流的博客系统

docker-compose 安装nacos

一:搭建数据库 /* * Copyright 1999-2018 Alibaba Group Holding Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use

thumbnail of the cover of the post

PGSQL-常用方法

一:获取表信息 SELECT n.nspname AS schema_name, c.relname AS table_name, d.description AS table_comment FROM pg_catalog.pg_class c LEFT J

thumbnail of the cover of the post

Mysql常用方法

获取表信息 SELECT COLUMN_NAME AS '字段名称', DATA_TYPE AS '数据类型', COLUMN_TYPE AS '字段类型', COLUMN_KEY AS '键', IS_NULLABLE AS '是否允许为空',

thumbnail of the cover of the post

动态规划

动态规划 0.1背包 理论基础 二维表 行代表选取0-n 多少物品 列代表 最大容量 最后需要的是最后一个格子

thumbnail of the cover of the post

贪心算法

1、分发饼干 https://leetcode.cn/problems/assign-cookies/description/ class Solution { public int findContentChildren(int[] g, int[] s) { if(s.l

thumbnail of the cover of the post

C# DbHelper常用方法

一: 查询单个字段 DBUtility.DbHelperSQLP dbHelper = new DBUtility.DbHelperSQLP(PubConstant.GetDragonSourceConnectionString); SqlParameter[] paras

thumbnail of the cover of the post

回溯问题

回溯 1、组合 https://leetcode.cn/problems/combinations/description/ 回溯的返回值一般都是void,还有 注意for循环的开始值,不能每次都从集合的第一数值开始。 第二需要注意的是: 不能写成 result.add(list) 因为在 Java

thumbnail of the cover of the post

二叉树

二叉树 涉及到二叉树的构造,无论普通二叉树还是二叉搜索树一定前序,都是先构造中节点。 求普通二叉树的属性,一般是后序,一般要通过递归函数的返回值做计算。 求二叉搜索树的属性,一定是中序了,要不白瞎了有序性了 1、二叉树层序遍历 https://leetcode.cn/problems/binary-

thumbnail of the cover of the post