题目: 题解:
class MinStack {Deque<Integer> xStack;Deque<Integer> minStack;public MinStack() {xStack new LinkedList<Integer>();minStack new LinkedList<Integer>();minStack.push(Integer.MAX_VALUE);}public void …
html
Html是什么?http是什么?
Html 超文本标记语言;负责网页的架构;
http((HyperText Transfer Protocol)超文本传输协议;
https(全称:Hypertext Transfer Protocol …
题目: 题解:
class Solution:def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> ListNode:A, B headA, headBwhile A ! B:A A.next if A else headBB B.next if B else headAreturn A