一亩三分地 标签 标签 careercup 相关帖子

标签:
careercup (#careercup)

318个主题 | 4192个回复 | 最后更新: 2023-5-27 03:23

相关帖子

版块 回复/查看 最后发表
活动 Career Cup第四轮刷题开始!

一年一度的CareerCup刷题活动来了,今年活动形式大致与去年一样,题目原则上一天一道~ 视具体情况可以考虑加量~活动组织形式:1、一天一道,数量根据题目难度弹性变 ...

attach_img
刷题 49 39184 xiaobai2000 2017-10-31 03:22
【第四轮】3.30 -4.5 Career Cup 1.7

1.7 Write an algorithm such that if an element in an MxN matrix is 0, its entire rowand column are set to 0.请参加活动的童鞋跟帖回复自己的解法,回复请参考 ...

刷题 16 3333 地里匿名用户 2015-9-13 06:04
【第四轮】4.13 - 4.19 Career Cup 3.3

3.3 Imagine a (literal) stack of plates. If the stack gets too high, it might topple.Therefore, in real life, we would likely start a new stack when the previ ...

刷题 6 2299 地里匿名用户 2015-7-23 02:09
【第四轮】4.6 - 4.12 Career Cup 2.5

2.5 You have two numbers represented by a linked list, where each node contains asingle digit. The digits are stored in reverse order, such that the Ts digit ...

刷题 12 3067 地里匿名用户 2015-7-15 01:49
【第四轮】3.30 - 4.5 Career Cup 1.2

1.2 Implement a function void reverse(char* str) in C or C++ which reverses a nullterminated string.请参加活动的童鞋跟帖回复自己的解法,回复请参考以下格式: ...

刷题 21 5354 地里匿名用户 2015-6-26 05:36
【第四轮】4.6 - 4.12 Career Cup 2.1

2.1 Write code to remove duplicates from an unsorted linked list.FOLLOW UPHow would you solve this problem if a temporary buffer is not allowed?请参加活 ...

刷题 15 3142 地里匿名用户 2015-6-22 05:10
【第四轮】4.13 - 4.19 Career Cup 3.5

3.5 Implement a MyQueue class which implements a queue using two stacksNotice:1、记得在程序注释中表明自己算法的时间、空间复杂度2、代码难懂之处加注释 ...

刷题 7 2737 地里匿名用户 2015-6-7 09:36
【第四轮】3.30 -4.5 Career Cup 1.3

1.3 Given two strings, write a method to decide if one is a permutation of the other.请参加活动的童鞋跟帖回复自己的解法,回复请参考以下格式:Notice: ...

刷题 42 7184 地里匿名用户 2015-6-6 03:26
【第四轮】4.13 - 4.19 Career Cup 3.4

3.4 In the classic problem of the Towers of Hanoi, you have 3 towers and N disks ofdifferent sizes which can slide onto any tower. The puzzle starts with disk ...

刷题 5 2280 地里匿名用户 2015-6-5 10:49
【第四轮】4.13 - 4.19 Career Cup 3.2

3.2 How would you design a stack which, in addition to push and pop, also has afunction min which returns the minimum element? Push, pop and min shouldall o ...

刷题 9 2471 地里匿名用户 2015-6-3 10:26
【第四轮】4.13 - 4..19 Career Cup 3.1

3.1 Describe how you could use a single array to implement three stacks.请参加活动的童鞋跟帖回复自己的解法,回复请参考以下格式:Notice:1、记得在 ...

刷题 3 1729 地里匿名用户 2015-6-2 12:12
【第四轮】 4.6 - 4.12 Career Cup 2.7

2.7 Implement a function to check if a linked list is a palindrome请参加活动的童鞋跟帖回复自己的解法,回复请参考以下格式:Notice:1、记得在程序注释中 ...

刷题 16 3163 地里匿名用户 2015-6-1 11:03
【第四轮】4.6 - 4.12 Career Cup 2.6

2.6 Given a circular linked list, implement an algorithm which returns the node atthe beginning of the loop.DEFINITIONCircular linked list: A (corrupt) li ...

刷题 9 2718 地里匿名用户 2015-5-31 11:27
【第四轮】4.6 - 4.12 Career Cup 2.4

2.4 Write code to partition a linked list around a value x, such that all nodes less thanx come before all nodes greater than or equal to x.请参加活动的童 ...

刷题 18 2889 地里匿名用户 2015-5-31 06:42
【第四轮】4.6 - 4.12 Career Cup 2.2

2.2 Implement an algorithm to find the kth to last element of a singly linked list.请参加活动的童鞋跟帖回复自己的解法,回复请参考以下格式:Notice:1 ...

刷题 15 3292 地里匿名用户 2015-5-31 02:28
【第四轮】4.6 - 4.12 Career Cup 2.3

2.3 Implement an algorithm to delete a node in the middle of a singly linked list,given only access to that node.EXAMPLEInput: the node c from the linked ...

刷题 13 2771 地里匿名用户 2015-5-28 10:40
【第四轮】3.30 - 4.5 Career Cup 1.1

1.1 Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures.按照国内的时间,已经是30号 ...

刷题 32 5508 地里匿名用户 2015-4-9 23:23
【第四轮】3.30- 4.5 Career Cup 1.4

1.4 Write a method to replace all spaces in a string with'%20'. You may assume thatthe string has sufficient space at the end of the string to hold the additi ...

刷题 19 2802 地里匿名用户 2015-4-9 14:40
【第四轮】3.30 - 4.5 Career Cup 1.6

1.6 Given an image represented by an NxN matrix, where each pixel in the image is4 bytes, write a method to rotate the image by 90 degrees. Can you do this in ...

刷题 12 2820 地里匿名用户 2015-4-6 23:30
【第四轮】3.30-4.5 Career Cup 1.5

1.5 Implement a method to perform basic string compression using the countsof repeated characters. For example, the string aabcccccaaa would becomea2blc5a3. ...

刷题 14 2900 地里匿名用户 2015-4-6 21:01
>
返回顶部