2017年9月19日

Leetcode c语言-Divide Two Integers

摘要: Title:Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.这道题就是实现除法,而且不能用到乘法... 阅读全文

posted @ 2017-09-19 21:39 sichenzhao 阅读(202) 评论(0) 推荐(0) 编辑

windows+sublime text3+MINGW编译运行c

摘要: 在linux下,编译运行c或者c++或python等非常简单,因为包含了gcc,g++编译器和python解释器。在windows下,可以利用MINGW安装gcc和g++编译器。MINGW:是Minimalist GNUfor Windows的缩写。MINGW提供了一... 阅读全文

posted @ 2017-09-19 16:23 sichenzhao 阅读(381) 评论(0) 推荐(0) 编辑

Leetcode c语言-Implement strStr()

摘要: Title:Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.这道题是... 阅读全文

posted @ 2017-09-19 16:03 sichenzhao 阅读(108) 评论(0) 推荐(0) 编辑

Leetcode c语言-Remove Element

摘要: Title:Given an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space fo... 阅读全文

posted @ 2017-09-19 13:37 sichenzhao 阅读(80) 评论(0) 推荐(0) 编辑

Leetcode c语言-Remove Duplicates from Sorted Array

摘要: Title:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not al... 阅读全文

posted @ 2017-09-19 11:25 sichenzhao 阅读(205) 评论(0) 推荐(0) 编辑

导航