{"id":7572,"date":"2024-12-24T20:30:12","date_gmt":"2024-12-24T17:30:12","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/"},"modified":"2024-12-24T20:30:12","modified_gmt":"2024-12-24T17:30:12","slug":"advent-of-code-2024-22-gun-maymun-pazari","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/","title":{"rendered":"Advent of Code 2024 &#8211; 22. G\u00fcn: Maymun Pazar\u0131"},"content":{"rendered":"<p><body><\/p>\n<p>Advent of Code 2024 &#8211; 22. G\u00fcn: Maymun Pazar\u0131<\/p>\n<p>Advent of Code 2024&#8217;\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici bir problem olan &#8220;Maymun Pazar\u0131&#8221;n\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar\u0131yor.  Bu problemde, maymunlar\u0131n e\u015fyalar\u0131n\u0131 al\u0131\u015fveri\u015f yaparak de\u011fi\u015ftirdikleri karma\u015f\u0131k bir pazar mekani\u011fiyle kar\u015f\u0131la\u015f\u0131yoruz.  Sorunun \u00e7\u00f6z\u00fcm\u00fc, dikkatli bir algoritma tasar\u0131m\u0131 ve verimli veri yap\u0131lar\u0131 kullan\u0131m\u0131 gerektiriyor.  \u00d6ncelikle problemi anlamak ve do\u011fru stratejiyi belirlemek olduk\u00e7a \u00f6nemlidir.  Bu yaz\u0131da,  problemi ad\u0131m ad\u0131m ele al\u0131p farkl\u0131 \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ve optimizasyon tekniklerini inceleyece\u011fiz.<\/p>\n<h2>Problemin Anlat\u0131m\u0131<\/h2>\n<p>Problemde, belirli bir d\u00fczende s\u0131ralanm\u0131\u015f bir dizi maymun ve her maymunun elindeki farkl\u0131 e\u015fyalar bulunmaktad\u0131r.  Maymunlar belirli kurallara g\u00f6re e\u015fyalar\u0131n\u0131 takas ederler.  Bu takas i\u015flemleri, her maymunun elindeki e\u015fya say\u0131s\u0131n\u0131 ve dolay\u0131s\u0131yla pazar\u0131n genel dengesini etkiler.  Amac\u0131m\u0131z, belirli bir s\u00fcre sonra her bir maymunun elindeki e\u015fya say\u0131s\u0131n\u0131 hesaplamak ve bu say\u0131lardan elde edilecek belirli bir de\u011feri bulmakt\u0131r.  Bu de\u011fer, problemin cevab\u0131n\u0131 verecektir.  Ancak, basit bir yakla\u015f\u0131mla \u00e7\u00f6z\u00fcm bulmak olduk\u00e7a zorlay\u0131c\u0131 olabilir, \u00e7\u00fcnk\u00fc  maymunlar\u0131n takas i\u015flemleri olduk\u00e7a karma\u015f\u0131k ve \u00f6ng\u00f6r\u00fclemeyen bir \u015fekilde ger\u00e7ekle\u015fir.<\/p>\n<h2>\u00c7\u00f6z\u00fcm Yolu ve Algoritma<\/h2>\n<p>Problemi \u00e7\u00f6zmek i\u00e7in, \u00f6ncelikle maymunlar\u0131n ve e\u015fyalar\u0131n\u0131n durumunu temsil etmek i\u00e7in uygun bir veri yap\u0131s\u0131 se\u00e7meliyiz.  \u00d6rne\u011fin, Python&#8217;da s\u00f6zl\u00fckler bu ama\u00e7 i\u00e7in olduk\u00e7a kullan\u0131\u015fl\u0131 olabilir.  Ard\u0131ndan, her maymunun takas i\u015flemlerini sim\u00fcle eden bir fonksiyon yazmal\u0131y\u0131z.  Bu fonksiyonda, verilen kurallara g\u00f6re maymunlar\u0131n e\u015fyalar\u0131n\u0131 de\u011fi\u015ftirmeli ve her ad\u0131mda pazar\u0131n durumunu g\u00fcncellemeliyiz.  Son olarak, belirlenen s\u00fcre sonunda her maymunun elindeki e\u015fya say\u0131s\u0131n\u0131 hesaplayarak problemin cevab\u0131n\u0131 bulabiliriz.  Bu i\u015flemler olduk\u00e7a hesaplama yo\u011fun oldu\u011fundan, kodun performans\u0131 olduk\u00e7a \u00f6nemlidir.  Dolay\u0131s\u0131yla, algoritmay\u0131 optimize etmek i\u00e7in \u00e7e\u015fitli teknikler kullanabiliriz. \u00d6rne\u011fin, gereksiz hesaplamalar\u0131 azaltmak veya daha h\u0131zl\u0131 veri yap\u0131lar\u0131 kullanmak performans\u0131 art\u0131rabilir.<\/p>\n<h2>Kod \u00d6rne\u011fi (Python)<\/h2>\n<pre><code>\n# Bu k\u0131s\u0131mda Python kod \u00f6rne\u011fi yer alacakt\u0131r.  \n# Problemdeki verilerin okunmas\u0131,  takas i\u015flemlerinin sim\u00fclasyonu ve sonucun hesaplanmas\u0131  \n# i\u00e7in gerekli kod burada g\u00f6sterilecektir.\n#  Ayr\u0131nt\u0131l\u0131 kod \u00f6rne\u011fi i\u00e7in l\u00fctfen  <a href=\"https:\/\/dev.to\/grantdotdev\/advent-of-code-2024-day-22-monkey-market-3mkn\">buraya<\/a>  bakabilirsiniz.\n<\/code><\/pre>\n<h2>Optimizasyon Teknikleri<\/h2>\n<p>Verimlilik a\u00e7\u0131s\u0131ndan,  kodun her ad\u0131mda yapt\u0131\u011f\u0131 hesaplamalar\u0131 en aza indirmeye \u00e7al\u0131\u015fmal\u0131y\u0131z.  Ayr\u0131ca, uygun veri yap\u0131lar\u0131 kullanarak veri eri\u015fim s\u00fcrelerini k\u0131saltmak \u00f6nemlidir.  B\u00fcy\u00fck verilerle \u00e7al\u0131\u015f\u0131rken, algoritman\u0131n karma\u015f\u0131kl\u0131\u011f\u0131n\u0131 analiz ederek performans\u0131 daha da iyile\u015ftirebiliriz.  \u00d6rne\u011fin, gereksiz d\u00f6ng\u00fclerden veya tekrarlayan hesaplamalardan ka\u00e7\u0131nmak, \u00f6nemli bir performans art\u0131\u015f\u0131 sa\u011flayabilir.  Bu iyile\u015ftirmeler, problemin b\u00fcy\u00fck girdiler i\u00e7in bile makul bir s\u00fcrede \u00e7\u00f6z\u00fclmesini sa\u011flar.<\/p>\n<h2>Sonu\u00e7<\/h2>\n<p>Advent of Code 2024&#8217;\u00fcn 22. g\u00fcn\u00fc,  algoritma tasar\u0131m\u0131 ve optimizasyon tekniklerinin \u00f6nemini vurguluyor.  Bu problemde,  sorunu do\u011fru anlamak ve uygun bir algoritma se\u00e7mek kadar, kodun performans\u0131n\u0131 optimize etmek de b\u00fcy\u00fck \u00f6nem ta\u015f\u0131yor.  Bu yaz\u0131da ele ald\u0131\u011f\u0131m\u0131z teknikler,  benzer problemleri \u00e7\u00f6zerken size yol g\u00f6sterecektir.  Daha fazla bilgi ve kod \u00f6rne\u011fi i\u00e7in <a href=\"https:\/\/dev.to\/grantdotdev\/advent-of-code-2024-day-22-monkey-market-3mkn\">bu kayna\u011fa<\/a> ve  kendi ki\u015fisel web sitem olan <a href=\"https:\/\/fatihsoysal.com\">fatihsoysal.com<\/a> adresini ziyaret edebilirsiniz.<\/p>\n<p>#Etiketler: Advent of Code, 2024, Day 22, Monkey Market, Maymun Pazar\u0131, algoritma, programlama, Python, \u00e7\u00f6z\u00fcm, optimizasyon, veri yap\u0131s\u0131, performans<\/p>\n<p><\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"Advent of Code 2024 &#8211; 22. G\u00fcn: Maymun Pazar\u0131 Advent of Code 2024&#8217;\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-7572","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-genel","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Advent of Code 2024 - 22. G\u00fcn: Maymun Pazar\u0131<\/title>\n<meta name=\"description\" content=\"Advent of Code 2024&#039;\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici bir problem olan &quot;Maymun Pazar\u0131&quot;n\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar\u0131yor. Bu problemde, maymunlar\u0131n e\u015fyalar\u0131n\u0131 al\u0131\u015fveri\u015f yaparak de\u011fi\u015ftirdikleri karma\u015f\u0131k bir pazar mekani\u011fiyle kar\u015f\u0131la\u015f\u0131yoruz. Sorunun \u00e7\u00f6z\u00fcm\u00fc, dikkatli bir algoritma tasar\u0131m\u0131 ve verimli veri yap\u0131lar\u0131 kullan\u0131m\u0131 gerektiriyor. \u00d6ncelikle problemi anlamak ve do\u011fru stratejiyi belirlemek olduk\u00e7a \u00f6nemlidir. Bu yaz\u0131da, problemi ad\u0131m ad\u0131m ele al\u0131p farkl\u0131 \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ve optimizasyon tekniklerini inceleyece\u011fiz.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Advent of Code 2024 - 22. G\u00fcn: Maymun Pazar\u0131\" \/>\n<meta property=\"og:description\" content=\"Advent of Code 2024&#039;\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici bir problem olan &quot;Maymun Pazar\u0131&quot;n\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar\u0131yor. Bu problemde, maymunlar\u0131n e\u015fyalar\u0131n\u0131 al\u0131\u015fveri\u015f yaparak de\u011fi\u015ftirdikleri karma\u015f\u0131k bir pazar mekani\u011fiyle kar\u015f\u0131la\u015f\u0131yoruz. Sorunun \u00e7\u00f6z\u00fcm\u00fc, dikkatli bir algoritma tasar\u0131m\u0131 ve verimli veri yap\u0131lar\u0131 kullan\u0131m\u0131 gerektiriyor. \u00d6ncelikle problemi anlamak ve do\u011fru stratejiyi belirlemek olduk\u00e7a \u00f6nemlidir. Bu yaz\u0131da, problemi ad\u0131m ad\u0131m ele al\u0131p farkl\u0131 \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ve optimizasyon tekniklerini inceleyece\u011fiz.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-24T17:30:12+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Advent of Code 2024 &#8211; 22. G\u00fcn: Maymun Pazar\u0131\",\"datePublished\":\"2024-12-24T17:30:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/\"},\"wordCount\":564,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#respond\"]}],\"copyrightYear\":\"2024\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/\",\"name\":\"Advent of Code 2024 - 22. G\u00fcn: Maymun Pazar\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2024-12-24T17:30:12+00:00\",\"description\":\"Advent of Code 2024'\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici bir problem olan \\\"Maymun Pazar\u0131\\\"n\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar\u0131yor. Bu problemde, maymunlar\u0131n e\u015fyalar\u0131n\u0131 al\u0131\u015fveri\u015f yaparak de\u011fi\u015ftirdikleri karma\u015f\u0131k bir pazar mekani\u011fiyle kar\u015f\u0131la\u015f\u0131yoruz. Sorunun \u00e7\u00f6z\u00fcm\u00fc, dikkatli bir algoritma tasar\u0131m\u0131 ve verimli veri yap\u0131lar\u0131 kullan\u0131m\u0131 gerektiriyor. \u00d6ncelikle problemi anlamak ve do\u011fru stratejiyi belirlemek olduk\u00e7a \u00f6nemlidir. Bu yaz\u0131da, problemi ad\u0131m ad\u0131m ele al\u0131p farkl\u0131 \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ve optimizasyon tekniklerini inceleyece\u011fiz.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Advent of Code 2024 &#8211; 22. G\u00fcn: Maymun Pazar\u0131\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Advent of Code 2024 - 22. G\u00fcn: Maymun Pazar\u0131","description":"Advent of Code 2024'\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici bir problem olan \"Maymun Pazar\u0131\"n\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar\u0131yor. Bu problemde, maymunlar\u0131n e\u015fyalar\u0131n\u0131 al\u0131\u015fveri\u015f yaparak de\u011fi\u015ftirdikleri karma\u015f\u0131k bir pazar mekani\u011fiyle kar\u015f\u0131la\u015f\u0131yoruz. Sorunun \u00e7\u00f6z\u00fcm\u00fc, dikkatli bir algoritma tasar\u0131m\u0131 ve verimli veri yap\u0131lar\u0131 kullan\u0131m\u0131 gerektiriyor. \u00d6ncelikle problemi anlamak ve do\u011fru stratejiyi belirlemek olduk\u00e7a \u00f6nemlidir. Bu yaz\u0131da, problemi ad\u0131m ad\u0131m ele al\u0131p farkl\u0131 \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ve optimizasyon tekniklerini inceleyece\u011fiz.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/","og_locale":"tr_TR","og_type":"article","og_title":"Advent of Code 2024 - 22. G\u00fcn: Maymun Pazar\u0131","og_description":"Advent of Code 2024'\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici bir problem olan \"Maymun Pazar\u0131\"n\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar\u0131yor. Bu problemde, maymunlar\u0131n e\u015fyalar\u0131n\u0131 al\u0131\u015fveri\u015f yaparak de\u011fi\u015ftirdikleri karma\u015f\u0131k bir pazar mekani\u011fiyle kar\u015f\u0131la\u015f\u0131yoruz. Sorunun \u00e7\u00f6z\u00fcm\u00fc, dikkatli bir algoritma tasar\u0131m\u0131 ve verimli veri yap\u0131lar\u0131 kullan\u0131m\u0131 gerektiriyor. \u00d6ncelikle problemi anlamak ve do\u011fru stratejiyi belirlemek olduk\u00e7a \u00f6nemlidir. Bu yaz\u0131da, problemi ad\u0131m ad\u0131m ele al\u0131p farkl\u0131 \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ve optimizasyon tekniklerini inceleyece\u011fiz.","og_url":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2024-12-24T17:30:12+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Advent of Code 2024 &#8211; 22. G\u00fcn: Maymun Pazar\u0131","datePublished":"2024-12-24T17:30:12+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/"},"wordCount":564,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#respond"]}],"copyrightYear":"2024","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/","url":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/","name":"Advent of Code 2024 - 22. G\u00fcn: Maymun Pazar\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2024-12-24T17:30:12+00:00","description":"Advent of Code 2024'\u00fcn 22. g\u00fcn\u00fc, olduk\u00e7a ilgi \u00e7ekici bir problem olan \"Maymun Pazar\u0131\"n\u0131 kar\u015f\u0131m\u0131za \u00e7\u0131kar\u0131yor. Bu problemde, maymunlar\u0131n e\u015fyalar\u0131n\u0131 al\u0131\u015fveri\u015f yaparak de\u011fi\u015ftirdikleri karma\u015f\u0131k bir pazar mekani\u011fiyle kar\u015f\u0131la\u015f\u0131yoruz. Sorunun \u00e7\u00f6z\u00fcm\u00fc, dikkatli bir algoritma tasar\u0131m\u0131 ve verimli veri yap\u0131lar\u0131 kullan\u0131m\u0131 gerektiriyor. \u00d6ncelikle problemi anlamak ve do\u011fru stratejiyi belirlemek olduk\u00e7a \u00f6nemlidir. Bu yaz\u0131da, problemi ad\u0131m ad\u0131m ele al\u0131p farkl\u0131 \u00e7\u00f6z\u00fcm yollar\u0131n\u0131 ve optimizasyon tekniklerini inceleyece\u011fiz.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/advent-of-code-2024-22-gun-maymun-pazari\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Advent of Code 2024 &#8211; 22. G\u00fcn: Maymun Pazar\u0131"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/7572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=7572"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/7572\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=7572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=7572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=7572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}