In my extension I have two models team members (parent) and expertise (child). The bidirectional relationsship between the two models is stored in an intermedia
I have a list of shapes (list of points) e.g. rectangles which I want to group/cluster together. This is what I have: And this is what I want to achieve. How
int[] array = {4, 5, 7, 6, 9, 10,67,6,45}; for (int i = 0; i < array.length; i++) { for (int j = i+1; j < array.length; j++) { if (array[i] &g
Hi I have an algorithm that uses binary tree to heapify and then sort the list i need to convert this sort algorithm to change into d-heap or d-ary heap or k-ar
I would like some help regarding my sort function for an array as it is not working as I expected. This function is to sort array of [0,1,2,3,4,...23] into arra
I am stuck, I had this working last week now I have changed something and it will not work! I have a simple flow service as follows: pub.file.getFile pub.f
I have array with structure: Array ( [months] => Array ( [01] => Array ( [0] => 16
I'm trying to sort the list of artifacts from jfrog artifactory but getting (The requested URL returned error: 400 Bad Request), in the jfrog documentation (htt
Numeric sorting is not working on my dataset. So I made a custom sorting that converts whole string into number then sorts based on that, but for some reasons i
I am trying to sort a list with reference to another list. Consider this example, List<String> a = ["a", "b", "c"]; List<int> b = [2, 3, 1]; Now,
I have written the following code to find the inversions in array {1,4,2,5,3} by using merge sort technique. I have been debugging it to the best of my knoledge
I am trying to take a list that a user inputs, filter and sort in ascending order but only for the non-negative numbers. I thought I understood how to do this
I have a list of -0.5, -0.6, 0.7, 1, 1.5, 3, -5 and I would like to sort it as 3, -5, 1.5, -0.6, 1, -0.5, 0.7. In other words, I would like to sparate the list
I'm struggling to sort an Eloquent collection using the sortBy() method. The issue is that the sorting is case sensitive and it first retrieves the uppercase re
I'm building an Ansible playbook in which I want to make a backup of a database in case I need to upgrade the software. For this I want to compare the highest v
I am just implementing a search with Lucene 5.5.0 for a JSF web application. In the application, several user can edit documents and very simple (only date and
In the Woocommerce single variable product pages, I would like to change the order of the sizing options on the related drop-down menu. Actually It is like thi
I have a multidimensional array in php: Array ( [0] => Array ( [certificate_name] => track.site [domains] => track.site
I have a spreadsheet like this - I can't figure out how to dynamically search for this. I want to find the MAX Score Value + output the related name (no worries
I have two columns, the first column (A) has names and the second column (B) has values. A B apple 10 orange 12 orange 14 apple 8 Is there a way to get only r