realethantran / ethan_student

MIT License
0 stars 0 forks source link

Individual Review Ticket (Mini-Project) - Ethan Tran #5

Open realethantran opened 10 months ago

realethantran commented 10 months ago

Ethan

Video Link

Frontend contributions:

image

Key commits/additions:

image

Backend contributions:

image

Key commits/additions:

image
    // merge sort
    class MergeSort extends SortingAlgorithm {
        @Override
        void sort(int[] arr) {
            Arrays.sort(arr);
        }
    }

    // insertion sort
    class InsertionSort extends SortingAlgorithm {
        @Override
        void sort(int[] arr) {
            int n = arr.length;
            for (int i = 1; i < n; ++i) {
                int key = arr[i];
                int j = i - 1;

                while (j >= 0 && arr[j] > key) {
                    arr[j + 1] = arr[j];
                    j = j - 1;
                }
                arr[j + 1] = key;
            }
        }
    }

    // bubble sort
    class BubbleSort extends SortingAlgorithm {
        @Override
        void sort(int[] arr) {
            int n = arr.length;
            for (int i = 0; i < n - 1; i++) {
                for (int j = 0; j < n - i - 1; j++) {
                    if (arr[j] > arr[j + 1]) {
                        int temp = arr[j];
                        arr[j] = arr[j + 1];
                        arr[j + 1] = temp;
                    }
                }
            }
        }
    }

    // selection sort
    class SelectionSort extends SortingAlgorithm {
        @Override
        void sort(int[] arr) {
            int n = arr.length;
            for (int i = 0; i < n - 1; i++) {
                int minIdx = i;
                for (int j = i + 1; j < n; j++) {
                    if (arr[j] < arr[minIdx]) {
                        minIdx = j;
                    }
                }
                int temp = arr[minIdx];
                arr[minIdx] = arr[i];
                arr[i] = temp;
            }
        }
    }

image

KKcbal commented 10 months ago

Individual Review AJ Ruiz grading Ethan Tran

Individuals Video, Issue(s), Commits(s)

video was well made and gave a good demonstration. There was that bet button that left me curious, and could have helped give extra points if at least loosely explained.

There was plans and they were moved along the scrum board but there wasn't any detail under each step.

Shows key commits on frontend and backend. Explains what each commit is about.

Commited everyday