09 2019 档案

摘要:题目描述 Suppose Andy and Doris want to choose a restaurant for dinner, and they both have a list of favorite restaurants represented by strings. You need 阅读全文
posted @ 2019-09-30 22:12 schaffen 阅读(125) 评论(0) 推荐(0)
摘要:题目介绍 Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would ha 阅读全文
posted @ 2019-09-30 19:05 schaffen 阅读(129) 评论(0) 推荐(0)
摘要:问题描述 Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive i 阅读全文
posted @ 2019-09-30 00:07 schaffen 阅读(112) 评论(0) 推荐(0)
摘要:题目描述 Given two arrays, write a function to compute their intersection. Example 1: Example 2: Input: nums1 = [4,9,5], nums2 = [9,4,9,8,4] Output: [9,4] 阅读全文
posted @ 2019-09-29 23:24 schaffen 阅读(85) 评论(0) 推荐(0)
摘要:问题描述 Given an encoded string, return its decoded string. The encoding rule is: k[encoded_string], where the encoded_string inside the square brackets 阅读全文
posted @ 2019-09-26 00:00 schaffen 阅读(147) 评论(0) 推荐(0)
摘要:问题描述 Given a binary tree, return the inorder traversal of its nodes' values. (左 - 根 - 右) Example: Follow up: Recursive solution is trivial, could you 阅读全文
posted @ 2019-09-25 10:19 schaffen 阅读(108) 评论(0) 推荐(0)
摘要:问题描述 You are given a list of non-negative integers, a1, a2, ..., an, and a target, S. Now you have 2 symbols + and -. For each integer, you should cho 阅读全文
posted @ 2019-09-23 12:43 schaffen 阅读(202) 评论(0) 推荐(0)
摘要:题目 Given a non-empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in b 阅读全文
posted @ 2019-09-22 17:41 schaffen 阅读(220) 评论(0) 推荐(0)
摘要:问题 Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: 阅读全文
posted @ 2019-09-18 00:51 schaffen 阅读(179) 评论(0) 推荐(0)
摘要:问题描述 Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- 阅读全文
posted @ 2019-09-15 16:23 schaffen 阅读(121) 评论(0) 推荐(0)
摘要:本文内容 根据德文 tum 官网介绍:https://www.ei.tum.de/studium/master-ei-msei/ 翻译,提取并且翻译成中文信息。 本文适用于ws19/20届的学生。 概览 通常的学习时间是四个学期。你既可以从冬季,也可以从夏季学期开始,可以完全使用德语学习并且毕业,但 阅读全文
posted @ 2019-09-13 12:06 schaffen 阅读(1045) 评论(0) 推荐(0)
摘要:本文主旨 使用MinGW 和 文本编辑器 Sublime Text,来搭建c++编译的平台。 Sublime Text 安装 和 解除限制 http://rainss.cn/essay/1124.html 或者 https://blog.csdn.net/qq_26975307/article/de 阅读全文
posted @ 2019-09-05 15:04 schaffen 阅读(188) 评论(0) 推荐(0)
摘要:基本概述 本文没有涉及vps服务器的内容,而是关于在自己Linux电脑的设置。win只需要下载gui,而为了方便,linux需要命令行。 流程 一 、安装 pip sudo apt-get install python-pip sudo python -m pip install --upgrade 阅读全文
posted @ 2019-09-02 11:47 schaffen 阅读(56) 评论(0) 推荐(0)