We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Sorting
- Big Sorting
- Discussions
Big Sorting
Big Sorting
Sort by
recency
|
961 Discussions
|
Please Login in order to post a comment
Big Sorting is something many students experience when trying to figure out their path forward, especially when preparing a university application. It feels like sorting through endless choices, from selecting the right courses to picking a campus that feels like home. Every step comes with decisions that can shape the future, and that’s where patience and clarity become important. The process may seem overwhelming, but breaking it down into smaller steps makes it manageable. Friends, mentors, and family can also help by sharing experiences and guidance along the way. In the end, Big Sorting is about finding direction and building confidence for the next chapter.
include
using namespace std;
int main(){ int n; cin >> n; vector unsorted(n); for(int unsorted_i = 0; unsorted_i < n; unsorted_i++){ cin >> unsorted[unsorted_i]; }
}
I implemented my own mergesort in python but I was failing tests due to the conversion from str to int, and int to str.
Fix? Simple, just run the mergesort with strings instead of ints.