sorting tag

34 questions


1 answers
398 views
0
I have a question regarding the use of java library when doing a coté.

Hi, everyone. Can I use any library when I coat with java?For example, if you have a problem with sorting, use Arrays.sort()Use Map = new TreeMap<>(Collections.reversOrder())). Is this not a pro...


1 answers
78 views
0
How do I sort the arrays in descending order in Java?

You can just sort the arrangement in ascending order. Is there an easy way to sort in descending order?

2 years ago

1 answers
151 views
0
Can you sort ArrayList with a specific method of objects?

I understand that you can arrange the ArrayLists with a comparator. But if you look at all the examples that use compareTo, it seems to be a method for strings.I want to sort the ArrayList with a spec...


1 answers
80 views
0
Postgresql cannot be sorted in Korean order.

SELECT * FROM table_name ORDER BY title but the title cannot be sorted in Korean order and can be sorted as it pleases.

2 years ago

1 answers
118 views
0
The phenomenon where null appears at the top when sorting from the large number in postgresql

I'm trying to sort it by score and look at it from the top one by one, but the null value comes out at the top. I'm going to exclude the null I put where('score is not null') but can't I do it at once...

2 years ago

2 answers
88 views
0
Sort descending to the second numeric value of the tuple in the list

word_list = [('this', 4), ('they', 3), ('that', 13), ('shall', 3), ('people', 3), ('nation', 5), ('here', 8), ('have', 5), ('great', 3), ('dedicated', 4), ('dead', 3)]How do I arrange these lists in o...

2 years ago

1 answers
142 views
0
Questions related to python list.sort().

Group3 = list()Group3.append('A')Group3.append('Da')Group3.append('la')Group3.append('I')Group3.append('c')Group3.append('a')Group3.append('b')Group3.append('羅')Group3.append('家')Group3.append('多')Gro...


1 answers
82 views
0
How to sort files in a pie-cham project by date modified

I can't figure out how to sort files by date cryingIs it not possible to sort by selecting one name, date, file size, etc. like window??

2 years ago

1 answers
72 views
0
Reset sorting criteria

In general, it is sorted with the standard 0<1<2<3<4<5<6<7<8<9I would like to arrange it based on 1<2<3<4<5<6<7<8<9<0.I remember doing it in C++ a...

2 years ago

2 answers
80 views
0
There's an infinite loop.What should I do?

int main(void){ int i = 0; int arr[10] = { 0 }; int j; int temp;while (i < 10){ printf(Enter an integer %d >, i); scanf_s(%d, &arr[i]); for (j = 0; j < i; j++); if (arr[i] == arr[j]) { p...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.