UdemyCourse
UdemyCourse copied to clipboard
Code for my programming course on Udemy. Over 7000 students from 130 countries have already joined.
https://github.com/margiki/UdemyCourse/blob/c7cb833d02728910eb1446c0c898938bf7895c9a/MajorityElement#L13 Are you sure the first argument of sort should be A+1? My opinion is that it should be A: i.e. `std::sort(A,A+n+1);`
I guess it meant closing instead of closic written before.
Why do we use only printf or scanf when I tried using cin and cout the SPOJ said time limit exceeded. It would be beneficial if you could answer about...
Knapsack algorithm implemented