题目: Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner ( ...
分类:
编程语言 时间:
2020-02-12 00:30:01
阅读次数:
62
PAT 甲级 Advanced 1097 Deduplication on a Linked List (25) [链表] ...
分类:
其他好文 时间:
2020-02-11 23:09:12
阅读次数:
148
Android Studio:RadioButton MainActivity package com.example.myapplicationfirst; import androidx.appcompat.app.AppCompatActivity; import android.conten ...
分类:
其他好文 时间:
2020-02-11 16:19:04
阅读次数:
91
将有序数组转化为二叉搜索树。题目即是题意。只要输出一个有效的BST即可。此题可以跟109题一起做,要求很接近但是做法不太一样。例子, Example: Given the sorted linked list: [-10,-3,0,5,9], One possible answer is: [0,- ...
分类:
其他好文 时间:
2020-02-11 09:53:31
阅读次数:
59
0. 1. Array Its size is fixed; The size must be known at compile-time; 2. Examples ...
分类:
编程语言 时间:
2020-02-11 09:32:18
阅读次数:
53
二叉树层序遍历二。题意跟版本一很接近,唯一的不同点是输出的output需要从下往上排列,叶子节点层最先输出,根节点在最后输出。例子, For example:Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 return i ...
分类:
其他好文 时间:
2020-02-11 09:30:26
阅读次数:
53
Mybatis Generator (MBG) 概念 MyBatis Generator:MyBatis 的开发团队提供了一个很强大的代码生成器,代码包含了数据库表对应的实体 类 、Mapper 接口类、 Mapper XML 文件和 Example 对象等,这些代码文件中几乎包含了全部的单表操作方 ...
分类:
其他好文 时间:
2020-02-11 00:26:23
阅读次数:
106
一、说在前面 昨天主要完成前期的准备和计划,并且完成了适配器的配置和测试,今天完成了完成数据库的部署和对业务逻辑的初步整理,明天对业务逻辑进行进一步的完善。没有遇到问题。 二、今天完成的源代码 package com.example.daliy; import android.content.Dia ...
分类:
移动开发 时间:
2020-02-10 18:14:21
阅读次数:
85
Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Input: nums = [12,345,2,6,7896]Output: 2Explanat ...
分类:
其他好文 时间:
2020-02-10 17:53:55
阅读次数:
65
1010 Radix (25分) Given a pair of positive integers, for example, $6$ and $110$, can this equation $6 = 110$ be true? The answer is , if 6 is a decimal ...
分类:
其他好文 时间:
2020-02-10 13:52:09
阅读次数:
60