码迷,mamicode.com
首页 >  
搜索关键字:represent    ( 1045个结果
[LeetCode] 415. Add Strings 字符串相加
Given two non-negative numbers num1 and num2 represented as string, return the sum of num1 and num2. Note: 两个只含有数字的字符串相加。 解法: 对于每个字符转成对应的整数,然后相加,结果在写入 ...
分类:其他好文   时间:2018-03-26 10:55:43    阅读次数:174
POJ 2443 Set Operation
Set Operation Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 3558 Accepted: 1479 Description You are given N sets, the i-th set (represent ...
分类:其他好文   时间:2018-03-25 11:56:41    阅读次数:172
Leetcode 17.——Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho ...
分类:其他好文   时间:2018-03-15 17:58:42    阅读次数:144
1032. Sharing (25)
To store English words, one method is to use linked lists and store a word letter by letter. To save some space, we may let the words share the same s ...
分类:其他好文   时间:2018-03-12 21:20:55    阅读次数:153
[LeetCode] 273. Integer to English Words 整数转为英文单词
Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. For example, Hint: 将一个整数转换成英文单词 ...
分类:其他好文   时间:2018-03-12 15:16:30    阅读次数:315
Java的23种设计模式 <二>
1.单例模式(Singleton Pattern) 定义:Ensure a class has only one instance, and provide a global point of access to it.(确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。) 通用代码 ...
分类:编程语言   时间:2018-03-11 00:33:05    阅读次数:203
1027. Colors in Mars (20)
People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher ...
分类:其他好文   时间:2018-03-10 20:28:15    阅读次数:185
POJ2443 Set Operation (基础bitset应用,求交集)
You are given N sets, the i-th set (represent by S(i)) have C(i) element (Here "set" isn't entirely the same as the "set" defined in mathematics, and ...
分类:其他好文   时间:2018-03-10 12:07:30    阅读次数:214
时间复杂度的理解
『 O(某函数())』用来描述一个算法处理给定的数据大概需要多少次运算。 - 大O符号是一种算法复杂度的相对表示方式。 这句话中有三个重要的用词,只要理解它们,就能知道它到底是什么意思了: 1、相对(relative):你只能比较相同的事物。你不能把一个做算数乘法的算法和排序整数列表的算法进行比较。 ...
分类:其他好文   时间:2018-03-04 23:53:08    阅读次数:233
斯坦福-随机图模型-week1.5
---title: 斯坦福-随机图模型-week1.5tags: notenotebook: 6- 英文课程-9-Probabilistic Graphical Models 1: Representation---# 斯坦福-随机图模型-week1.5## 贝叶斯网络### 朴素贝叶斯朴素贝叶斯是... ...
分类:其他好文   时间:2018-03-03 21:29:09    阅读次数:120
1045条   上一页 1 ... 32 33 34 35 36 ... 105 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!