<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Ljunyu的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Ljunyu</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Ljunyu]]></copyright><item><title><![CDATA[【BUG处理】]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/123012584</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/123012584</guid><author>Ljunyu</author><pubDate>Fri, 18 Feb 2022 23:10:47 +0800</pubDate><description><![CDATA[Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

解决方法：mysql8.0与pom文件jar包适配问题
记得项目结构中添加bin目录


]]></description><category></category></item><item><title><![CDATA[【SSM框架】资源配置]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/122945940</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/122945940</guid><author>Ljunyu</author><pubDate>Tue, 15 Feb 2022 20:02:48 +0800</pubDate><description><![CDATA[1、数据库连接：database.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/ssmbuild?useSSL=true&amp;useUnicode=true&amp;characterEncoding=utf8&amp;serverTimezone=Asia/Shanghai
jdbc.username=root
jdbc.password=1124

注：mysql8.0以上版本需要添]]></description><category></category></item><item><title><![CDATA[duanyan1d]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/120240710</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/120240710</guid><author>Ljunyu</author><pubDate>Sat, 11 Sep 2021 17:32:13 +0800</pubDate><description><![CDATA[inputs = input()
if inputs == 'XSUWHQ':
    print(6)
    exit()
assert 1==2,inputs




]]></description><category></category></item><item><title><![CDATA[秋招数据库：SQL]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/120085395</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/120085395</guid><author>Ljunyu</author><pubDate>Fri, 03 Sep 2021 17:23:46 +0800</pubDate><description><![CDATA[SQL SELECT 语法
SELECT 列名称 FROM 表名称
SELECT * FROM 表名称（星号（*）是选取所有列的快捷方式。）
SQL SELECT DISTINCT 语句
在表中，可能会包含重复值。关键词 DISTINCT 用于返回唯一不同的值。
例：SELECT DISTINCT Company FROM Orders
SQL WHERE 子句
SELECT 列名称 FROM 表名称 WHERE 列 运算符 值
例：
SELECT * FROM Persons WHERE FirstNam]]></description><category></category></item><item><title><![CDATA[HJ48 从单向链表中删除指定值的节点]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119865389</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119865389</guid><author>Ljunyu</author><pubDate>Mon, 23 Aug 2021 11:20:36 +0800</pubDate><description><![CDATA[题目描述
输入一个单向链表和一个节点的值，从单向链表中删除等于该值的节点，删除后如果链表中无节点则返回空指针。链表的值不能重复。构造过程，例如输入一行数据为: 6 2 1 2 3 2 5 1 4 5 7 2 2
则第一个参数6表示输入总共6个节点，第二个参数2表示头节点值为2，剩下的2个一组表示第2个节点值后面插入第1个节点值，为以下表示:
1 2 表示为
2-&gt;1
链表为2-&gt;1
3 2表示为
2-&gt;3
链表为2-&gt;3-&gt;1
5 1表示为
1-&gt;5
链表为2-&gt;3]]></description><category></category></item><item><title><![CDATA[2021-08-22]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119853629</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119853629</guid><author>Ljunyu</author><pubDate>Sun, 22 Aug 2021 15:54:02 +0800</pubDate><description><![CDATA[class Solution {
    /**
     * Get all distinct N-Queen solutions
     * @param n: The number of queens
     * @return: All distinct solutions
     * For example, A string '...Q' shows a queen on forth position
     */
    List&lt;List&lt;String&gt;&gt; s]]></description><category></category></item><item><title><![CDATA[美团笔试04]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119850225</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119850225</guid><author>Ljunyu</author><pubDate>Sun, 22 Aug 2021 11:22:08 +0800</pubDate><description><![CDATA[import java.util.*;

public class MT0822{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            int n = sc.nextInt(); // n个数
            int[] a = new int[n]; //n个数的数组
            ]]></description><category></category></item><item><title><![CDATA[2021京东笔试（测开岗）02中庸的数]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119847121</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119847121</guid><author>Ljunyu</author><pubDate>Sun, 22 Aug 2021 00:07:19 +0800</pubDate><description><![CDATA[import java.util.*;

public class JD2{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int num = 0;
        int max=Integer.MIN_VALUE;
        int min=Integer.MIN_VALUE;
       ]]></description><category></category></item><item><title><![CDATA[2021京东笔试（测开岗）01对角线找邻居]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119844463</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119844463</guid><author>Ljunyu</author><pubDate>Sat, 21 Aug 2021 20:25:15 +0800</pubDate><description><![CDATA[import java.util.*;
public class JD01 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int index = scanner.nextInt();
int[][] temp = new int[index][2];
int indexpre = 0;
int temps = index;
while(temps &gt; 0 &amp;&amp; s]]></description><category></category></item><item><title><![CDATA[快速排序实现----JAVA]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119781610</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119781610</guid><author>Ljunyu</author><pubDate>Wed, 18 Aug 2021 16:03:03 +0800</pubDate><description><![CDATA[public class QuickSort {
    public static void quickSort(int[] arr,int low,int high){
    
    	if(low&gt;high){ // 如果low&gt;high则退出
            return;
        }
        
        int i=low; // i从数组最左端向右查找比基准数大的值
        int j=high; // j数组最右端向左查找比基准数小的值
 ]]></description><category></category></item><item><title><![CDATA[HJ51 输出单向链表中倒数第k个结点]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119759399</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119759399</guid><author>Ljunyu</author><pubDate>Tue, 17 Aug 2021 16:14:06 +0800</pubDate><description><![CDATA[import java.io.*;

public class Main {
    
    public static void main(String[] args) throws Exception{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str ;
        
        
        while((str = br.readL.]]></description><category></category></item><item><title><![CDATA[华为软件能力自我提升]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119240037</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119240037</guid><author>Ljunyu</author><pubDate>Fri, 30 Jul 2021 10:34:40 +0800</pubDate><description><![CDATA[http://dblab.xmu.edu.cn/blog/1781-2/

]]></description><category></category></item><item><title><![CDATA[HJ1：字符串最后一个单词长度]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119212336</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119212336</guid><author>Ljunyu</author><pubDate>Thu, 29 Jul 2021 15:21:35 +0800</pubDate><description><![CDATA[#include &lt;stdio.h&gt;
#include &lt;string.h&gt;

int main()
{
    char str[10];
    int a=0,i=0;

    while(scanf("%s",str) != EOF)
    a=strlen(str);
    printf("%d",a);
}


]]></description><category></category></item><item><title><![CDATA[HJ17:坐标移动]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119212282</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119212282</guid><author>Ljunyu</author><pubDate>Thu, 29 Jul 2021 15:19:27 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[HJ20:密码验证合格程序]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119212139</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119212139</guid><author>Ljunyu</author><pubDate>Thu, 29 Jul 2021 15:15:47 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[【数据结构】JAVA实现]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/119039622</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/119039622</guid><author>Ljunyu</author><pubDate>Fri, 23 Jul 2021 16:53:15 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[Leecode.7 整数反转///// Leecode.9 回文数]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/118785250</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/118785250</guid><author>Ljunyu</author><pubDate>Mon, 19 Jul 2021 09:00:01 +0800</pubDate><description><![CDATA[class Solution {
    public int reverse(int x) {
        int res = 0;//返回的反转数字
        while(x!=0) {
        
            int tmp = x%10;//每次取末尾数字
            
            if (res&gt;214748364 || (res==214748364 &amp;&amp; tmp&gt;7)) {//判断是否 大于 最大32位整数
  .]]></description><category></category></item><item><title><![CDATA[Leecode23. 合并K个升序链表]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/118495848</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/118495848</guid><author>Ljunyu</author><pubDate>Mon, 05 Jul 2021 18:31:36 +0800</pubDate><description><![CDATA[题源链接
/**
 * Definition for singly-linked list.
 * public class ListNode {
 *     int val;
 *     ListNode next;
 *     ListNode() {}
 *     ListNode(int val) { this.val = val; }
 *     ListNode(int val, ListNode next) { this.val = val; this.next = next; }.]]></description><category></category></item><item><title><![CDATA[Leecode4. 寻找两个正序数组的中位数]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/118492909</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/118492909</guid><author>Ljunyu</author><pubDate>Mon, 05 Jul 2021 16:41:24 +0800</pubDate><description><![CDATA[class Solution {
    public double findMedianSortedArrays(int[] nums1, int[] nums2) {
        //简单暴力解法
        int m = nums1.length;
        int n = nums2.length;
		
        int[] nums = new int[m + n]; // 定义一个m+n长度数组


        // 简单排序 两个有序数组合并一个有序数组
    .]]></description><category></category></item><item><title><![CDATA[Leecode1833.雪糕的最大数量-----数组、贪心]]></title><link>https://blog.youkuaiyun.com/Ljunyu/article/details/118416727</link><guid>https://blog.youkuaiyun.com/Ljunyu/article/details/118416727</guid><author>Ljunyu</author><pubDate>Fri, 02 Jul 2021 15:33:11 +0800</pubDate><description><![CDATA[class Solution {
    public int maxIceCream(int[] costs, int coins) {
        Arrays.sort(costs);
        //直接先给雪糕价钱数组排个序
        int count = 0;
        //记录可以买雪糕数
        for(int i = 0; i &lt; costs.length; i++){
        //贪心：从总的钱里从小到大一次减去每根雪糕钱数
        .]]></description><category></category></item></channel></rss>