大约有 16,600 项符合查询结果(耗时:0.0267秒) [XML]
Immutable vs Mutable types
I'm confused on what an immutable type is. I know the float object is considered to be immutable, with this type of example from my book:
...
How to find all combinations of coins when given some dollar value
I found a piece of code that I was writing for interview prep few months ago.
35 Answers
...
Insert space before capital letters
I have a string "MySites" . I want to place a space between My and Sites .
8 Answers
...
What is more efficient? Using pow to square or just multiply it with itself?
What of these two methods is in C more efficient? And how about:
7 Answers
7
...
How could the UNIX sort command sort a very large file?
The UNIX sort command can sort a very large file like this:
7 Answers
7
...
Angular JS: What is the need of the directive’s link function when we already had directive’s contro
I need to perform some operations on scope and the template. It seems that I can do that in either the link function or the controller function (since both have access to the scope).
...
Correctly determine if date string is a valid date in that format
I'm receiving a date string from an API, and it is formatted as yyyy-mm-dd .
16 Answers
...
What is a typedef enum in Objective-C?
I don't think I fundamentally understand what an enum is, and when to use it.
13 Answers
...
Why is auto_ptr being deprecated?
I heard auto_ptr is being deprecated in C++11. What is the reason for this?
5 Answers
...
Print an integer in binary format in Java
...ant to print it in binary. I don't want to do it by writing an algorithm, Is there any built-in function for that in Java?
...
