Difference between revisions of "Helpful Queries"
Jump to navigation
Jump to search
m |
m |
||
| Line 10: | Line 10: | ||
|- | |- | ||
|Query 1 | |Query 1 | ||
| − | | | + | | |
| − | + | | | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|- | |- | ||
|} | |} | ||
| Line 37: | Line 17: | ||
| + | <syntaxhighlight lang="python" line='line'> | ||
| + | def quick_sort(arr): | ||
| + | less = [] | ||
| + | pivot_list = [] | ||
| + | more = [] | ||
| + | if len(arr) <= 1: | ||
| + | return arr | ||
| + | else: | ||
| + | pass | ||
| + | </syntaxhighlight> | ||
Copyright © {{CURRENTYEAR}} by PRAMS Plus LLC. All Rights Reserved. | Copyright © {{CURRENTYEAR}} by PRAMS Plus LLC. All Rights Reserved. | ||
Revision as of 22:57, 26 February 2020
This page contains queries that have been found useful for Prams users.
◄ QueryX2
To use one of the queries below, copy all the data and paste into QueryX2, change the parameters, then run the query.
If you are having difficulties running a query or need a new query built, call Prams at 303-904-6855.
| Query 1 |
def quick_sort(arr):
less = []
pivot_list = []
more = []
if len(arr) <= 1:
return arr
else:
pass
Copyright © 2025 by PRAMS Plus LLC. All Rights Reserved.