I think the best way to improve Your skills would be writing programs, maybe joining open source project instead doing exercises.
However if You don't mind algorithm related problems You can try:...
Type: Posts; User: Klesk
I think the best way to improve Your skills would be writing programs, maybe joining open source project instead doing exercises.
However if You don't mind algorithm related problems You can try:...
I think You should pass pointer and array size through functions and struct shouldn't be inside main.
You can overload operators You need for sorting (for example <) and then sort it like an int array.
Mhm thanks, but I think I will stick with O(1) :)
Right, thank You... heh that was so easy :)
Hello
Is it possible to find max element in STL set with complexity O(lgN) ?