{"id":36678,"date":"2025-11-20T13:27:14","date_gmt":"2025-11-20T12:27:14","guid":{"rendered":"https:\/\/www.graviton.at\/letterswaplibrary\/the-most-complete-python-code-big-%e2%ad%95-time-complexity-dataset\/"},"modified":"2025-11-20T13:27:14","modified_gmt":"2025-11-20T12:27:14","slug":"the-most-complete-python-code-big-%e2%ad%95-time-complexity-dataset","status":"publish","type":"post","link":"https:\/\/www.graviton.at\/letterswaplibrary\/the-most-complete-python-code-big-%e2%ad%95-time-complexity-dataset\/","title":{"rendered":"The Most Complete Python Code Big \u2b55 Time Complexity Dataset"},"content":{"rendered":"<p><!-- SC_OFF --><\/p>\n<div class=\"md\">\n<p>Hi folks,<\/p>\n<p>I built a little classifier that classifies python code time complexity in big O notation, and in the process of doing so, I collected all the data I could find, which consist of a pre-existing dataset, as well as scraping the data from other sources and then cleaning it myself. Thought this might be useful for someone.<\/p>\n<p>Data sources:<\/p>\n<ul>\n<li> <a href=\"https:\/\/arxiv.org\/abs\/2401.08719\">CodeComplex<\/a><\/li>\n<li><a href=\"https:\/\/neetcode.io\/practice\/practice\/allNC\">Neetcode Leetcode solutions<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/kamyu104\/LeetCode-Solutions\">Leetcode solutions github repo<\/a><\/li>\n<\/ul>\n<p>You can find the data in my repo: ~\/data\/data folder<\/p>\n<p>Repo link: <a href=\"https:\/\/github.com\/komaksym\/biggitybiggityO\">https:\/\/github.com\/komaksym\/biggitybiggityO<\/a><\/p>\n<p>If you find this useful, I&#8217;d appreciate starring the repo.<\/p>\n<\/div>\n<p><!-- SC_ON -->   submitted by   <a href=\"https:\/\/www.reddit.com\/user\/Financial-Grass4819\"> \/u\/Financial-Grass4819 <\/a> <br \/> <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1p212me\/the_most_complete_python_code_big_time_complexity\/\">[link]<\/a><\/span>   <span><a href=\"https:\/\/www.reddit.com\/r\/datasets\/comments\/1p212me\/the_most_complete_python_code_big_time_complexity\/\">[comments]<\/a><\/span><\/p><div class='watch-action'><div class='watch-position align-right'><div class='action-like'><a class='lbg-style1 like-36678 jlk' href='javascript:void(0)' data-task='like' data-post_id='36678' data-nonce='65e0e39b87' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.graviton.at\/letterswaplibrary\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-36678 lc'>0<\/span><\/a><\/div><\/div> <div class='status-36678 status align-right'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi folks, I built a little classifier that classifies python code time complexity in big O notation,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":["post-36678","post","type-post","status-publish","format-standard","hentry","category-datatards","wpcat-85-id"],"_links":{"self":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/36678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/comments?post=36678"}],"version-history":[{"count":0,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/posts\/36678\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/media?parent=36678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/categories?post=36678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graviton.at\/letterswaplibrary\/wp-json\/wp\/v2\/tags?post=36678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}