All Questions
5 questions
6
votes
2
answers
449
views
Selection Sort Algorithm (Node.js)
I wanted to implement a selection sort and wanted to make sure that I'm doing it correctly. I wanted to do it in a way that's efficient and use recursion. Please let me know if I am doing this ...
2
votes
2
answers
511
views
Recursive and Non-recursive SelectionSort
This is a naive attempt of writing a recursive and non-recursive versions for SelectionSort(). My goal is mainly to present an elegant, easy-to-understand, ...
3
votes
1
answer
3k
views
A recursive sort and filter for a nested object
I have a nested object which I need to filter and sort.
I have a nested Object where some keys like app1 are nested inside another object.
I need to be able to filter out objects with the status of ...
1
vote
2
answers
85
views
Function to sort items with an array of keys
I'm working on a function to sort two elements using several properties. I want to know if the function is well structured.
...
2
votes
2
answers
375
views
Beginner implementation of Merge Sort
This is my first time implementing a merge sort (just getting started with algorithms & data structures).
Are there any obvious things I have done wrong?
I am also worried that I have overused ...