{"id":"https://openalex.org/W2109426391","doi":"https://doi.org/10.1145/1227161.1402294","title":"On the adaptiveness of Quicksort","display_name":"On the adaptiveness of Quicksort","publication_year":2008,"publication_date":"2008-06-01","ids":{"openalex":"https://openalex.org/W2109426391","doi":"https://doi.org/10.1145/1227161.1402294","mag":"2109426391"},"language":"en","primary_location":{"id":"doi:10.1145/1227161.1402294","is_oa":false,"landing_page_url":"https://doi.org/10.1145/1227161.1402294","pdf_url":null,"source":{"id":"https://openalex.org/S201104086","display_name":"ACM Journal of Experimental Algorithmics","issn_l":"1084-6654","issn":["1084-6654"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Journal of Experimental Algorithmics","raw_type":"journal-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":false,"oa_status":"closed","oa_url":null,"any_repository_has_fulltext":false},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5039943336","display_name":"Gerth St\u00f8lting Brodal","orcid":"https://orcid.org/0000-0001-9054-915X"},"institutions":[{"id":"https://openalex.org/I4210095128","display_name":"Center for Massive Data Algorithmics","ror":"https://ror.org/00qbzpp62","country_code":"DK","type":"facility","lineage":["https://openalex.org/I4210095128"]}],"countries":["DK"],"is_corresponding":true,"raw_author_name":"Gerth St\u00f8lting Brodal","raw_affiliation_strings":["MADALGO, University of Aarhus, \u00c5rhus N, Denmark"],"affiliations":[{"raw_affiliation_string":"MADALGO, University of Aarhus, \u00c5rhus N, Denmark","institution_ids":["https://openalex.org/I4210095128"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5021765002","display_name":"Rolf Fagerberg","orcid":"https://orcid.org/0000-0003-1004-3314"},"institutions":[{"id":"https://openalex.org/I177969490","display_name":"University of Southern Denmark","ror":"https://ror.org/03yrrjy16","country_code":"DK","type":"education","lineage":["https://openalex.org/I177969490"]}],"countries":["DK"],"is_corresponding":false,"raw_author_name":"Rolf Fagerberg","raw_affiliation_strings":["University of Southern Denmark, Odense M, Denmark"],"affiliations":[{"raw_affiliation_string":"University of Southern Denmark, Odense M, Denmark","institution_ids":["https://openalex.org/I177969490"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5013884110","display_name":"Gabriel Moruz","orcid":null},"institutions":[{"id":"https://openalex.org/I114090438","display_name":"Goethe University Frankfurt","ror":"https://ror.org/04cvxnb49","country_code":"DE","type":"education","lineage":["https://openalex.org/I114090438"]}],"countries":["DE"],"is_corresponding":false,"raw_author_name":"Gabriel Moruz","raw_affiliation_strings":["J. W. Goethe University, Frankfurt/Main, Germany","J.W. Goethe University , Frankfurt/Main , Germany"],"affiliations":[{"raw_affiliation_string":"J. W. Goethe University, Frankfurt/Main, Germany","institution_ids":["https://openalex.org/I114090438"]},{"raw_affiliation_string":"J.W. Goethe University , Frankfurt/Main , Germany","institution_ids":["https://openalex.org/I114090438"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":3,"corresponding_author_ids":["https://openalex.org/A5039943336"],"corresponding_institution_ids":["https://openalex.org/I4210095128"],"apc_list":null,"apc_paid":null,"fwci":3.4323,"has_fulltext":false,"cited_by_count":18,"citation_normalized_percentile":{"value":0.92672842,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":90,"max":96},"biblio":{"volume":"12","issue":null,"first_page":"1","last_page":"20"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T11269","display_name":"Algorithms and Data Compression","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T11269","display_name":"Algorithms and Data Compression","score":0.9998999834060669,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11567","display_name":"semigroups and automata theory","score":0.9988999962806702,"subfield":{"id":"https://openalex.org/subfields/1703","display_name":"Computational Theory and Mathematics"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T12072","display_name":"Machine Learning and Algorithms","score":0.9972000122070312,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/quicksort","display_name":"Quicksort","score":0.9949647188186646},{"id":"https://openalex.org/keywords/merge-sort","display_name":"Merge sort","score":0.7779339551925659},{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.6256728768348694},{"id":"https://openalex.org/keywords/sorting","display_name":"Sorting","score":0.551572322845459},{"id":"https://openalex.org/keywords/sorting-algorithm","display_name":"Sorting algorithm","score":0.4906998872756958},{"id":"https://openalex.org/keywords/algorithm","display_name":"Algorithm","score":0.44016915559768677},{"id":"https://openalex.org/keywords/mathematics","display_name":"Mathematics","score":0.3337186574935913}],"concepts":[{"id":"https://openalex.org/C2778937211","wikidata":"https://www.wikidata.org/wiki/Q486598","display_name":"Quicksort","level":4,"score":0.9949647188186646},{"id":"https://openalex.org/C35555965","wikidata":"https://www.wikidata.org/wiki/Q189057","display_name":"Merge sort","level":4,"score":0.7779339551925659},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.6256728768348694},{"id":"https://openalex.org/C111696304","wikidata":"https://www.wikidata.org/wiki/Q2303697","display_name":"Sorting","level":2,"score":0.551572322845459},{"id":"https://openalex.org/C108094655","wikidata":"https://www.wikidata.org/wiki/Q181593","display_name":"Sorting algorithm","level":3,"score":0.4906998872756958},{"id":"https://openalex.org/C11413529","wikidata":"https://www.wikidata.org/wiki/Q8366","display_name":"Algorithm","level":1,"score":0.44016915559768677},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.3337186574935913}],"mesh":[],"locations_count":3,"locations":[{"id":"doi:10.1145/1227161.1402294","is_oa":false,"landing_page_url":"https://doi.org/10.1145/1227161.1402294","pdf_url":null,"source":{"id":"https://openalex.org/S201104086","display_name":"ACM Journal of Experimental Algorithmics","issn_l":"1084-6654","issn":["1084-6654"],"is_oa":false,"is_in_doaj":false,"is_core":true,"host_organization":"https://openalex.org/P4310319798","host_organization_name":"Association for Computing Machinery","host_organization_lineage":["https://openalex.org/P4310319798"],"host_organization_lineage_names":["Association for Computing Machinery"],"type":"journal"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"ACM Journal of Experimental Algorithmics","raw_type":"journal-article"},{"id":"pmh:oai:sdu.dk:publications/decefa00-e353-11dd-990c-000ea68e967b","is_oa":false,"landing_page_url":"https://portal.findresearcher.sdu.dk/da/publications/decefa00-e353-11dd-990c-000ea68e967b","pdf_url":null,"source":{"id":"https://openalex.org/S4306400423","display_name":"University of Southern Denmark Research Portal (University of Southern Denmark)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I177969490","host_organization_name":"University of Southern Denmark","host_organization_lineage":["https://openalex.org/I177969490"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Brodal, G S, Fagerberg, R & Moruz, G 2008, 'On the adaptiveness of Quicksort', ACM Journal of Experimental Algorithmics, vol. 12. https://doi.org/10.1145/1227161.1402294","raw_type":"info:eu-repo/semantics/publishedVersion"},{"id":"pmh:oai:pure.atira.dk:publications/0907cc50-e37f-11dc-9afb-000ea68e967b","is_oa":false,"landing_page_url":"https://pure.au.dk/portal/en/publications/0907cc50-e37f-11dc-9afb-000ea68e967b","pdf_url":null,"source":null,"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"Brodal, G S, Fagerberg, R & Moruz, G 2008, 'On the Adaptiveness of Quicksort', Journal of Experimental Algorithmics, vol. 12. https://doi.org/10.1145/1227161.1402294","raw_type":"info:eu-repo/semantics/publishedVersion"}],"best_oa_location":null,"sustainable_development_goals":[],"awards":[{"id":"https://openalex.org/G7182320075","display_name":null,"funder_award_id":"ANS-0257/20","funder_id":"https://openalex.org/F4320321504","funder_display_name":"Carlsbergfondet"}],"funders":[{"id":"https://openalex.org/F4320321504","display_name":"Carlsbergfondet","ror":"https://ror.org/01kpjmx04"}],"has_content":{"grobid_xml":false,"pdf":false},"content_urls":null,"referenced_works_count":31,"referenced_works":["https://openalex.org/W100509257","https://openalex.org/W629080408","https://openalex.org/W1492853005","https://openalex.org/W1500006865","https://openalex.org/W1521064342","https://openalex.org/W1539580421","https://openalex.org/W1548333879","https://openalex.org/W1552059191","https://openalex.org/W1583122912","https://openalex.org/W1583793915","https://openalex.org/W1595208863","https://openalex.org/W1759427713","https://openalex.org/W1981177980","https://openalex.org/W2012188345","https://openalex.org/W2036398870","https://openalex.org/W2040046786","https://openalex.org/W2051283794","https://openalex.org/W2057843273","https://openalex.org/W2066823629","https://openalex.org/W2082357899","https://openalex.org/W2108200035","https://openalex.org/W2119602492","https://openalex.org/W2149468555","https://openalex.org/W2152427862","https://openalex.org/W2169818191","https://openalex.org/W3198160809","https://openalex.org/W3198470706","https://openalex.org/W4240200084","https://openalex.org/W4249533178","https://openalex.org/W6632258207","https://openalex.org/W6682571141"],"related_works":["https://openalex.org/W3037448952","https://openalex.org/W4300167273","https://openalex.org/W4229364780","https://openalex.org/W2389598404","https://openalex.org/W4320925713","https://openalex.org/W2898932275","https://openalex.org/W4289305650","https://openalex.org/W2045941082","https://openalex.org/W2085544944","https://openalex.org/W151752673"],"abstract_inverted_index":{"Quicksort":[0,30,67,98,156],"was":[1],"first":[2],"introduced":[3],"in":[4,36,86,178],"1961":[5],"by":[6,26],"Hoare.":[7],"Many":[8],"variants":[9],"have":[10,47],"been":[11],"developed,":[12],"the":[13,19,27,32,93,104,130,135,147,174,179,189,197,208],"best":[14],"of":[15,29,65,97,113,133,137,176,199,211],"which":[16,56],"are":[17,43,57,115],"among":[18,70],"fastest":[20],"generic-sorting":[21],"algorithms":[22,42],"available,":[23],"as":[24,31,72],"testified":[25],"choice":[28],"default":[33],"sorting":[34,41],"algorithm":[35],"most":[37],"programming":[38],"libraries.":[39],"Some":[40],"adaptive,":[44],"i.e.,":[45],"they":[46],"a":[48,111,185],"complexity":[49],"analysis":[50],"that":[51,92,128,154],"is":[52,68,99,141],"better":[53],"for":[54,82,129,188],"inputs,":[55],"nearly":[58],"sorted,":[59],"according":[60],"to":[61,103,110,146],"some":[62,204],"specified":[63],"measure":[64,106,148],"presortedness.":[66],"not":[69],"these,":[71],"it":[73],"uses":[74],"\u03a9(":[75],"n":[76,78,161,167],"log":[77],")":[79],"comparisons":[80],"even":[81],"sorted":[83],"inputs.":[84],"However,":[85],"this":[87],"paper,":[88],"we":[89,152],"demonstrate":[90],"empirically":[91],"actual":[94],"running":[95],"time":[96],"adaptive":[100,143,209],"with":[101,119,144],"respect":[102,145],"presortedness":[105],"Inv.":[107,149],"Differences":[108],"close":[109],"factor":[112],"two":[114],"observed":[116,190],"between":[117],"instances":[118],"low":[120],"and":[121,192,213],"high":[122],"Inv":[123,172],"value.":[124],"We":[125,201],"then":[126],"show":[127],"randomized":[131,155],"version":[132],"Quicksort,":[134],"number":[136,175],"element":[138,169],"swaps":[139],"performed":[140],"provably":[142],"More":[150],"precisely,":[151],"prove":[153],"performs":[157],"expected":[158],"O":[159],"(":[160],"(1":[162],"+":[163,165],"log(1":[164],"Inv/":[166],")))":[168],"swaps,":[170],"where":[171],"denotes":[173],"inversions":[177],"input":[180],"sequence.":[181],"This":[182],"result":[183],"provides":[184],"theoretical":[186],"explanation":[187],"behavior":[191,198,210],"gives":[193],"new":[194],"insights":[195],"on":[196,207],"Quicksort.":[200],"also":[202],"give":[203],"empirical":[205],"results":[206],"Heapsort":[212],"Mergesort.":[214]},"counts_by_year":[{"year":2025,"cited_by_count":1},{"year":2019,"cited_by_count":1},{"year":2018,"cited_by_count":1},{"year":2016,"cited_by_count":1},{"year":2013,"cited_by_count":2},{"year":2012,"cited_by_count":2}],"updated_date":"2025-11-06T03:46:38.306776","created_date":"2025-10-10T00:00:00"}
