Inversion of Control - XML Configuration Spring Container Functions Inversion of Control - Create and Manage Objects Dependency Injection - Inject object’s dependencies Configuring Spring Container XML Configuratiion file Java annotations J 2021-01-06 Spring & Hibernate Spring
Setup Spring Environment Setup Spring Environment1. Install Tomcat9.0Download Tomcat9.0 from here. Start Servercd /tomcat && bin/startup.sh Shutdown Servercd /tomcat && bin/shutdown.sh 2. Install IntelliJ IDE 2021-01-05 Spring & Hibernate Spring Environment
J2EE and Spring Overview What is Java EE?J2EE - Java 2 Platform Enterprise Edition graph TB A[Client-Side Presentation] --> B[Server-Side Presentation]; B --> C[Server-Side Business Logic]; C --> D[Databa 2021-01-05 Spring & Hibernate Spring
Java 集合类 JAVA 集合类基本概念JAVA中集合类主要负责保存数据。所有的集合类都位于 java.util 包下。Java容器类类库主要用于保存对象。主要有两大分支。 Collection —— 容器的每个位置只能保存一个元素。 一组对立的元素。通常Collection中的元素都符合某种规则。 List必须保持一定的顺序。 Set的元素不能重复。 Queue保持队列FIFO原则。 Map —— 容器 2020-10-20 Java
29 Divide Two Integers 29 Divide Two Integers - MediumGiven two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. Return the quotient after dividing dividend by divi 2020-05-31 LeetCode
18 4 Sum + 454 4SumII 18 4Sum - MediumTags: Array / HashTable / Two Pointers Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all uni 2020-05-29 LeetCode
30 Substring with Concatenation of All Words 30 Substring with Concatenation of All Words - HardTags: HashMap, String 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( 2020-05-20 LeetCode
23 Merge k Sorted Lists 23 Merge k Sorted Lists - HardMerge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Example: 1234567Input:[ 1->4->5, 1->3->4, 2->6]Output 2020-05-17 LeetCode
24 Swap Nodes in Pairs 24. Swap Nodes in Pairs - MediumGiven a linked list, swap every two adjacent nodes and return its head. You may not modify the values in the list’s nodes, only nodes itself may be changed. Example: 1G 2020-05-08 LeetCode
25 Reverse Nodes in k-Group 25 Reverse Nodes in k-GroupTag: Linked List DescriptionGiven 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 equ 2020-05-07 LeetCode