码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
自定义KVO
1. 不调用实例变量的方法 2. 动态生成子类 (利用runtime生成:申请类,添加一些方法-set-class等方法,注册类 ) #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSObject (FXKV ...
分类:其他好文   时间:2019-12-21 20:19:05    阅读次数:84
1052 Linked List Sorting (25分)
A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an integer key  ...
分类:其他好文   时间:2019-12-16 19:26:51    阅读次数:77
[Algorithm] 387. First Unique Character in a String
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assume the ...
分类:其他好文   时间:2019-12-13 23:28:11    阅读次数:78
[LC] 230. Kth Smallest Element in a BST
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note:You may assume k is always valid, 1 ≤ k ≤ BST's ...
分类:其他好文   时间:2019-12-07 10:18:19    阅读次数:76
57. Insert Interval
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were initia ...
分类:其他好文   时间:2019-12-04 22:22:54    阅读次数:118
Two Sum Java解决方案
Two Sum Java解决方案 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 in ...
分类:编程语言   时间:2019-11-29 23:41:06    阅读次数:110
王爽汇编实验(九)
任务:在屏幕中间分别显示绿色,绿底红色,白底蓝色的字符串'welcome to masm!' 1 assume cs:codesg,ds:datasg,ss:stack 2 3 datasg segment 4 db 'welcome to masm!' 5 datasg ends 6 7 stac ...
分类:其他好文   时间:2019-11-24 09:58:05    阅读次数:95
王爽汇编实验(八)
分析下面的程序,在运行前思考:这个程序可以正确返回吗? 运行后再思考:为什么时这种结果? 通过这个程序加深对相关内容的额理解。 assume cs:codesg codesg segment mov ax,4c00h int 21h start:mov ax,0 s:nop nop mov di,o ...
分类:其他好文   时间:2019-11-23 09:23:21    阅读次数:118
Exercise: Week 2-7
File artical.txt contains an article in English (please create the file by yourself and put any English article you picked in it). Assume the article ...
分类:其他好文   时间:2019-11-20 13:06:23    阅读次数:67
[LC] 243. Shortest Word Distance
Given a list of words and two words word1 and word2, return the shortest distance between these two words in the list. Example:Assume that words = ["p ...
分类:其他好文   时间:2019-11-18 09:28:36    阅读次数:56
1858条   上一页 1 ... 6 7 8 9 10 ... 186 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!