goto456
码龄15年
关注
提问 私信
  • 博客:1,540,461
    社区:52
    1,540,513
    总访问量
  • 77
    原创
  • 1,916,966
    排名
  • 821
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:北京市
  • 加入CSDN时间: 2010-01-21
博客简介:

小怪孩的成长之路

博客描述:
Talk is cheap. Show me the code.
查看详细资料
个人成就
  • 获得935次点赞
  • 内容获得190次评论
  • 获得3,478次收藏
  • 代码片获得112次分享
创作历程
  • 39篇
    2018年
  • 12篇
    2015年
  • 22篇
    2014年
  • 14篇
    2013年
成就勋章
TA的专栏
  • 【Linux】
    16篇
  • LeetCode题解 - Java实现
    36篇
  • 【LeetCode】
    36篇
  • 【Java】
    39篇
  • 【Git】
    1篇
  • 【Python】
    20篇
  • 【Java Web】
    4篇
  • 【Spring】
    2篇
  • 【软件工程】
    4篇
  • 【OpenGL】
    4篇
  • 【C/C++】
    2篇
  • 【Error】
    5篇
  • 【视频编解码】
    3篇
  • 【其他】
    1篇
  • 【机器学习】
  • 【计算机图形学】
  • 【工具】
    2篇
创作活动更多

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

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

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

【Python】Bottle框架下Python Web开发的跨域访问

上一篇文章中介绍了Python应用Bottle轻量级框架进行Web开发,这次介绍Bottle框架下的跨域访问的问题。       当前台跨域访问时,会无法从后台得到数据,也就是说跨域访问失败。解决办法如下:在程序中定义一个函数代码如下:#!/usr/bin/python# -*- conding:utf-8 -*-from bottle import *#deco
原创
发布博客 2015.01.31 ·
5616 阅读 ·
1 点赞 ·
3 评论 ·
9 收藏

【LeetCode】36. Valid Sudoku - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:Each row must contain the digits 1-9 wit...
原创
发布博客 2018.12.17 ·
544 阅读 ·
2 点赞 ·
0 评论 ·
0 收藏

【LeetCode】35. Search Insert Position - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You m...
原创
发布博客 2018.12.16 ·
740 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

【LeetCode】34. Find First and Last Position of Element in Sorted Array - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.Your algorithm’s runtime complexity mu...
原创
发布博客 2018.12.16 ·
975 阅读 ·
2 点赞 ·
0 评论 ·
1 收藏

【LeetCode】33. Search in Rotated Sorted Array - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).You are giv...
原创
发布博客 2018.12.09 ·
358 阅读 ·
1 点赞 ·
0 评论 ·
1 收藏

【LeetCode】32. Longest Valid Parentheses - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given a string containing just the characters ‘(’ and ‘)’, find the length of the longest valid (well-formed) parentheses substring.Example 1:Input: “(()”Ou...
原创
发布博客 2018.12.09 ·
636 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】31. Next Permutation - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it mus...
原创
发布博客 2018.12.04 ·
516 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

【LeetCode】30. Substring with Concatenation of All Words - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a concatenation o...
原创
发布博客 2018.12.03 ·
621 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】29. Divide Two Integers - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator.Return the quotient after dividing dividen...
原创
发布博客 2018.11.28 ·
1104 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】29. Divide Two Integers - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator.Return the quotient after dividing dividen...
原创
发布博客 2018.11.28 ·
1104 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】28. Implement strStr() - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.Example 1:Input: haystack = “hell...
原创
发布博客 2018.11.26 ·
505 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】27. Remove Element - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate extra space for another array, you m...
原创
发布博客 2018.11.24 ·
299 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】26. Remove Duplicates from Sorted Array - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for ano...
原创
发布博客 2018.11.24 ·
538 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】25. Reverse Nodes in k-Group - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.k is a positive integer and is less than or equal to the lengt...
原创
发布博客 2018.11.24 ·
726 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

【LeetCode】24. Swap Nodes in Pairs - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given a linked list, swap every two adjacent nodes and return its head.Example:Given 1->2->3->4, you should return the list as 2->1->4->3....
原创
发布博客 2018.11.24 ·
633 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】23. Merge k Sorted Lists - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.Example:Input:[ 1->4->5, 1->3->4, 2->6]...
原创
发布博客 2018.11.23 ·
516 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】22. Generate Parentheses - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[ “((()))...
原创
发布博客 2018.11.23 ·
427 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】21. Merge Two Sorted Lists - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Example:Input: 1...
原创
发布博客 2018.11.22 ·
485 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

【LeetCode】20. Valid Parentheses - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.An input string is valid if:Open bracke...
原创
发布博客 2018.11.22 ·
811 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

【LeetCode】19. Remove Nth Node From End of List - Java实现

文章目录1. 题目描述:2. 思路分析:3. Java代码:1. 题目描述:Given a linked list, remove the n-th node from the end of list and return its head.Example:Given linked list: 1->2->3->4->5, and n = 2.After rem...
原创
发布博客 2018.11.21 ·
419 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多