huangjingjinglll
码龄8年
关注
提问 私信
  • 博客:27,143
    27,143
    总访问量
  • 47
    原创
  • 2,152,014
    排名
  • 3
    粉丝
  • 0
    铁粉

个人简介:一起加油(ง •̀_•́)ง

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:北京市
  • 加入CSDN时间: 2017-05-06
博客简介:

huangjingjinglll的博客

查看详细资料
个人成就
  • 获得4次点赞
  • 内容获得8次评论
  • 获得15次收藏
创作历程
  • 26篇
    2020年
  • 21篇
    2019年
成就勋章
TA的专栏
  • 编程题
    20篇
  • java
    11篇
  • redis
    5篇
  • 编程
  • 数据库
    5篇
  • KG
    2篇
  • 多线程
    3篇
  • ontology
    1篇
  • 网络
    3篇
  • paper
  • key
    3篇
创作活动更多

AI大模型如何赋能电商行业,引领变革?

如何使用AI技术实现购物推荐、会员分类、商品定价等方面的创新应用?如何运用AI技术提高电商平台的销售效率和用户体验呢?欢迎分享您的看法

186人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

二叉树的遍历:递归,非递归

public class Tree { public class Node{ public Node left; public Node right; public int val; public Node(int val) { this.val = val; } } //前序递归 public void preOrderRecur(Node he...
原创
发布博客 2020.03.06 ·
233 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:二叉树的最大距离

import java.util.*;public class Main{ public static class TreeNode{ TreeNode left; TreeNode right; int val; public TreeNode(int val){ ...
原创
发布博客 2020.02.29 ·
155 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:把二叉树打印成多行(非递归)

import java.util.*;/*public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; }}*/public class...
原创
发布博客 2020.02.27 ·
147 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:把二叉树打印成多层(递归)

import java.util.ArrayList;/*public class TreeNode { int val = 0; TreeNode left = null; TreeNode right = null; public TreeNode(int val) { this.val = val; }}*/publ...
原创
发布博客 2020.02.27 ·
142 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:链表中的环

/* public class ListNode { int val; ListNode next = null; ListNode(int val) { this.val = val; }}*/public class Solution { public ListNode EntryNodeOfLoop(ListNode pHe...
原创
发布博客 2020.02.27 ·
139 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:数组中只出现一次的数

题目描述一个整型数组里除了两个数字之外,其他的数字都出现了两次。请写程序找出这两个只出现一次的数字。//num1,num2分别为长度为1的数组。传出参数//将num1[0],num2[0]设置为返回结果//先用亦或,相同则为0,不同则为1,最后得到的就是单独的2个数的亦或,是2个数不同的位置,//选第一个1的位置,将数组分为2组,则2个数分到不同组,相同的数分到相同组,则可以在分好的组...
原创
发布博客 2020.02.27 ·
217 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:平衡二叉树

题目描述输入一棵二叉树,判断该二叉树是否是平衡二叉树。public class Solution { public boolean IsBalanced_Solution(TreeNode root) { if(root == null){ return true; } return IsBalanced_Solu...
原创
发布博客 2020.02.27 ·
383 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:树的深度

题目描述输入一棵二叉树,求该树的深度。从根结点到叶结点依次经过的结点(含根、叶结点)形成树的一条路径,最长路径的长度为树的深度。public class Solution { public int TreeDepth(TreeNode root) { if(root == null){ return 0; } ...
原创
发布博客 2020.02.27 ·
241 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

编程题:正则表达式匹配

请实现一个函数用来匹配包括’.‘和’‘的正则表达式。模式中的字符’.‘表示任意一个字符,而’'表示它前面的字符可以出现任意次(包含0次)。 在本题中,匹配是指字符串的所有字符匹配整个模式。例如,字符串"aaa"与模式"a.a"和"abaca"匹配,但是与"aa.a"和"ab*a"均不匹配public class Solution { public boolean match(char[]...
原创
发布博客 2020.02.25 ·
272 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:表示数值的字符串

请实现一个函数用来判断字符串是否表示数值(包括整数和小数)。例如,字符串"+100",“5e2”,"-123",“3.1416"和”-1E-16"都表示数值。 但是"12e",“1a3.14”,“1.2.3”,"±5"和"12e+4.3"都不是。用正则public class Solution { public boolean isNumeric(char[] str) { ...
原创
发布博客 2020.02.25 ·
137 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:287. Find the Duplicate Number

Given an array nums containing n + 1 integers where each integer is between 1 and n (inclusive), prove that at least one duplicate number must exist. Assume that there is only one duplicate number, fi...
原创
发布博客 2020.02.23 ·
125 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:56. Merge Intervals

Given a collection of intervals, merge all overlapping intervals.Example 1:Input: [[1,3],[2,6],[8,10],[15,18]]Output: [[1,6],[8,10],[15,18]]Explanation: Since intervals [1,3] and [2,6] overlaps, m...
原创
发布博客 2020.02.22 ·
200 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:17. Letter Combinations of a Phone Number

Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is give...
原创
发布博客 2020.02.22 ·
93 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:55. Jump Game

Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine if you ...
原创
发布博客 2020.02.22 ·
92 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:3sum,乱序数组

Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:The solution set must not contai...
原创
发布博客 2020.02.22 ·
107 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:getMin栈

题目描述:实现一个特殊功能的栈,在实现栈的基本功能的基础上,再实现返回栈中最小元素的操作。CODEimport java.util.*;public class Main{ public static void main(String[]args){ getMinStack ms = new getMinStack(); Scanner scanner = new...
原创
发布博客 2020.02.20 ·
236 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:用两个栈实现队列,支持队列的基本操作

题目要求:用两个栈实现队列,支持队列的基本操作CODEimport java.util.*;public class Main{ public static void main(String[] args){ QueueByStack sq = new QueueByStack(); Scanner scanner = new Scann...
原创
发布博客 2020.02.20 ·
481 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:不重复3SUM

题目描述给定排序数组arr和整数k,不重复打印arr中所有相加和为k的不降序三元组例如, arr = [-8, -4, -3, 0, 1, 2, 4, 5, 8, 9], k = 10,打印结果为:-4 5 9-3 4 9-3 5 80 1 90 2 81 4 5[要求]时间复杂度为O(n^2)空间复杂度为O(1)输入描述:第一行有两个整数n, k接下来一行有n个整数表...
原创
发布博客 2020.02.17 ·
157 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:不重复2sum

题目描述给定排序数组arr和整数k,不重复打印arr中所有相加和为k的不降序二元组例如, arr = [-8, -4, -3, 0, 1, 2, 4, 5, 8, 9], k = 10,打印结果为:1, 92, 8[要求]时间复杂度为O(n),空间复杂度为O(1)输入描述:第一行有两个整数n, k接下来一行有n个整数表示数组内的元素输出描述:输出若干行,每行两个整数表示答案...
原创
发布博客 2020.02.16 ·
285 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

编程题:最长可整合子数组

题目描述先给出可整合数组的定义:如果一个数组在排序之后,每相邻两个数的差的绝对值都为1,或者该数组长度为1,则该数组为可整合数组。例如,[5, 3, 4, 6, 2]排序后为[2, 3, 4, 5, 6],符合每相邻两个数差的绝对值都为1,所以这个数组为可整合数组给定一个数组arr, 请返回其中最大可整合子数组的长度。例如,[5, 5, 3, 2, 6, 4, 3]的最大可整合子数组为[5,...
原创
发布博客 2020.02.16 ·
228 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多