- 博客(4)
- 收藏
- 关注
原创 快速幂
public class Solution { public double Power(double base, int exponent) { if(base == 0){ if(exponent < 0){ throw new RuntimeException("分母不能为0"); ...
2019-01-10 18:37:47 95
原创 SQLserver将查询结果存为table
SELECT * INTO database.dbo.test FROM ( SELECT * FROM database.dbo.table1 t1 JOIN database.dbo.table2 t2 ON t1.MMSI = t2.mmsi ) t3...
2018-11-07 11:49:00 683
原创 leetcode 617.Merge Two Binary Trees
题目: Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the others are not. You need to merge them into a new binary...
2018-10-31 17:53:26 91
原创 LeetCode 814.Binary Tree Pruning
题目: We are given the head node root of a binary tree, where additionally every node's value is either a 0 or a 1. Return the same tree where every subtree (of the given tree) not containing a 1 has ...
2018-10-29 20:36:00 93
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人