My intention was to count he number of vowels in each string in each index, add that number to an array, and then sort both the arrays using bubble sort. (this is for a class, and we are not allowed to use arrays.sort or any of the arrays.methods.) It is not sorting whatsoever and I’m unsure as to why. Answer
Tag: bubble-sort
BubbleSort Implementation
I tried to make an implementation of bubble sort, but I am not sure whether it is correct or not. If you can give it a look and if it is a bubble sort and can be done in better way please don’t be shy. Here is the code: Answer This is the calssical implementation for bubble sort and it