उन्नत कोडिंग चैलेंज

आसान से कठिन तक 20 कोडिंग चैलेंज के साथ उन्नत का अभ्यास करें। हर चैलेंज ब्राउज़र में चलता है, तुरंत टेस्ट, आपके कोड का AI रिव्यू और तुलना के लिए कम्युनिटी के समाधान के साथ।

मध्यम · 3 कठिन · 17

जिन कौशलों का अभ्यास करेंगे: चक्र की पहचान (cycle detection)2D grid पर चलना (traversal)4 पड़ोसी जाँचनाConvolution kernelsDAG पर DPGraph में चक्र (cycle) पहचाननाMemoizationO(log n)O(n) विंडोअंतराल DPअपने नियमों से sort करनाआवृत्ति तालिका
  • Python · C++ · C#
  • स्वचालित परीक्षण
  • AI कोड समीक्षा
  • समुदाय समाधान
341
चुनौतियाँ
245
साझा समाधान
9
भाषाएँ

सभी चुनौतियाँ

नाम या विषय से खोजें, या कठिनाई से फ़िल्टर करें।

20 चुनौतियाँ
मध्यम

Game of Life Step

Advance Conway's Game of Life by one generation.

आप सीखेंगे ग्रिड सिमुलेशनपड़ोसी गिनना
उन्नतग्रिडHackathonSimulation
कठिन

Shortest Delivery Tour

Visit every city once and return home as cheaply as possible.

आप सीखेंगे बिटमास्क DPट्रैवलिंग सेल्समैन
उन्नतBitmasksकॉम्पिटिटिव प्रोग्रामिंगडायनेमिक प्रोग्रामिंग
कठिन

Minimum Window Substring

Find the shortest piece of text containing all required characters.

आप सीखेंगे विंडो बढ़ाना और घटानाआवृत्ति तालिका
उन्नतकॉम्पिटिटिव प्रोग्रामिंगSliding-windowStrings
कठिन

Longest Path in a DAG

Find the heaviest path in a task dependency graph.

आप सीखेंगे टोपोलॉजिकल क्रमDAG पर DP
उन्नतGraphsHackathonTopological-sort
मध्यम

K-th Smallest Element

Find the k-th smallest value without fully sorting.

आप सीखेंगे क्विकसेलेक्टविभाजन
उन्नतकॉम्पिटिटिव प्रोग्रामिंगसॉर्टिंग
कठिन

Word Break

Decide whether text can be split into dictionary words.

आप सीखेंगे प्रीफ़िक्स DPटेक्स्ट को शब्दों में बाँटना
उन्नतडायनेमिक प्रोग्रामिंगHackathonStrings
कठिन

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

आप सीखेंगे विभाजन खोजO(log n)
उन्नतबाइनरी सर्चकॉम्पिटिटिव प्रोग्रामिंग
कठिन

Strongly Connected Components

Count groups of nodes that can all reach each other.

आप सीखेंगे ग्राफ़ एल्गोरिदमटार्जन या कोसाराजू
उन्नतकॉम्पिटिटिव प्रोग्रामिंगGraphs
कठिन

Course Schedule Order

Order courses so every prerequisite comes first.

आप सीखेंगे कान का एल्गोरिदमचक्र पहचानना
उन्नतGraphsHackathonTopological-sort
कठिन

Largest Rectangle in a Histogram

Find the largest rectangle that fits under a histogram.

आप सीखेंगे मोनोटोनिक स्टैकक्षेत्रफल गणना
उन्नतकॉम्पिटिटिव प्रोग्रामिंगस्टैक
मध्यम

Island Perimeter

Measure the coastline of land cells in a grid.

आप सीखेंगे किनारे गिनना4 पड़ोसी जाँचना
उन्नतग्रिडHackathon
कठिन

Trapping Rain Water

Compute how much rain water an elevation map holds.

आप सीखेंगे दो पॉइंटरप्रीफ़िक्स अधिकतम
उन्नतArraysकॉम्पिटिटिव प्रोग्रामिंगGreedy
कठिन

Count Inversions

Count the out-of-order pairs in a list.

आप सीखेंगे मर्ज सॉर्टविभाजित करो और जीतो
उन्नतकॉम्पिटिटिव प्रोग्रामिंगसॉर्टिंग
कठिन

Sliding Window Maximum

Report the maximum of every window of k numbers.

आप सीखेंगे मोनोटोनिक डेकO(n) विंडो
उन्नतकॉम्पिटिटिव प्रोग्रामिंगSliding-window
कठिन

मैट्रिक्स चेन गुणा

मैट्रिक्सों की एक श्रृंखला को गुणा करने का सबसे सस्ता क्रम खोजें।

आप सीखेंगे अंतराल DPऑप्टिमाइज़ेशन
उन्नतकॉम्पिटिटिव प्रोग्रामिंगडायनेमिक प्रोग्रामिंग
कठिन

Edge Detection (Sobel फ़िल्टर)

Grayscale pixel grid पर Sobel फ़िल्टर चलाइए और हर pixel की edge strength लौटाइए।

आप सीखेंगे 2D grid पर चलना (traversal)Convolution kernels
उन्नतCS1CS50 शैलीग्रिडगृहकार्यइमेज प्रोसेसिंगप्रोग्रामिंग की शुरुआतमैट्रिक्सनए छात्र
अभी तक कोई समाधान नहीं
कठिन

सबसे लंबा आवर्ती दशमलव चक्र

किसी सीमा तक वह d खोजिए जिसके भिन्न 1/d में बार-बार आने वाला दशमलव खंड सबसे लंबा हो।

आप सीखेंगे लंबा भाग (long division)चक्र की पहचान (cycle detection)
उन्नतकॉम्पिटिटिव प्रोग्रामिंगDFSसंख्या सिद्धांतProject Euler शैलीगणित
अभी तक कोई समाधान नहीं
कठिन

अंकों के फ़ैक्टोरियल की श्रृंखलाएँ

वे आरंभिक संख्याएँ गिनिए जिनकी अंक-फ़ैक्टोरियल श्रृंखला में ठीक दी गई संख्या जितने अलग-अलग पद हों।

आप सीखेंगे चक्र की पहचान (cycle detection)Memoization
उन्नतकॉम्पिटिटिव प्रोग्रामिंगसंख्या सिद्धांतProject Euler शैलीगणित
अभी तक कोई समाधान नहीं