Tag

reverse

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Apr 27, 2025 · Fundamentals

Master Python’s Stable Sorting: Using sorted() with key and reverse

Python’s sorted() function offers stable sorting, allowing multi‑criteria ordering through successive sorts, while its flexible key parameter lets you customize sorting logic—such as sorting by length then alphabetically—and the reverse flag enables effortless descending order, making complex sorting tasks straightforward.

PythonSortingkey function
0 likes · 4 min read
Master Python’s Stable Sorting: Using sorted() with key and reverse
Selected Java Interview Questions
Selected Java Interview Questions
Apr 26, 2021 · Fundamentals

Reversing Linked Lists and Related Problems with Go Implementations

This article presents detailed explanations, algorithmic ideas, and complete Go code for reversing an entire singly linked list, reversing a sub‑list between positions m and n, finding the intersection node of two lists, detecting cycles, and partitioning a list around a pivot value.

AlgorithmData StructuresLeetCode
0 likes · 14 min read
Reversing Linked Lists and Related Problems with Go Implementations
Test Development Learning Exchange
Test Development Learning Exchange
Aug 1, 2018 · Fundamentals

Understanding Python's sorted() Function and Its Differences from list.sort()

This article explains how Python's built‑in sorted() function sorts any iterable and returns a new list, contrasts it with the in‑place list.sort() method, and demonstrates usage of key functions, reverse ordering, and multi‑dimensional sorting with code examples.

IterableSortingkey function
0 likes · 5 min read
Understanding Python's sorted() Function and Its Differences from list.sort()