![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C
文章平均质量分 79
iouiwc
这个作者很懒,什么都没留下…
展开
-
LeetCode::Zigzag Conversion C语言
题目 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L原创 2015-03-07 22:36:11 · 1834 阅读 · 0 评论 -
LeetCode::Reverse Integer C语言
题目 Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here are some good questions to ask before c原创 2015-03-07 21:00:20 · 2602 阅读 · 1 评论 -
LeetCode::Rotate Array C语言
题目 Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Note: Try to come up as many solutions a原创 2015-03-08 01:18:25 · 729 阅读 · 1 评论 -
【整理】关于C/C++语言面试题问答
准备找工作ing,题目不是我自己遇到的,都是网上整理来的,所以标注转载。 答案可能自己加工过,尽量保证正确全面,欢迎大家阅读后指正指点指教! 只涉及C C++两种语言,数据结构和算法另外单开一贴。 第一大类:指针和内存空间 Q: 指针和引用的区别 A: 1)指针指向 第二大类:关键词和宏定义 第三大类:类、面向对象原创 2015-03-09 14:36:54 · 534 阅读 · 0 评论 -
LeetCode::Two Sum C语言
题目 Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target,原创 2015-03-07 15:39:19 · 9855 阅读 · 2 评论