C++ कोडिंग चैलेंज

C++ में हल किए जा सकने वाले 226 चैलेंज, पहले लूप से लेकर ग्राफ़, डायनेमिक प्रोग्रामिंग और मशीन लर्निंग तक। ब्राउज़र में कोड लिखें, तुरंत टेस्ट चलाएँ और AI रिव्यू पाएँ।

आसान · 134 मध्यम · 68 कठिन · 24

जिन कौशलों का अभ्यास करेंगे: गिनतीअंक निकालनास्ट्रिंग बाँटना2D सूचियाँअंकगणितलूपसूचियाँसूत्रwhile लूपअधिकतम ट्रैक करनाएक ही पासग्रेडिएंट डिसेंट
  • Python · C++ · C#
  • स्वचालित परीक्षण
  • AI कोड समीक्षा
  • समुदाय समाधान
226
चुनौतियाँ
2
साझा समाधान
3
भाषाएँ

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

विषय, भाषा या कठिनाई से खोजें।

226 चुनौतियाँ
कठिन

Shortest Delivery Tour

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

आप सीखेंगे बिटमास्क DPट्रैवलिंग सेल्समैन
AdvancedBitmasksCompetitive-programmingDynamic-programming
अभी तक कोई समाधान नहीं
मध्यम

Game of Life Step

Advance Conway's Game of Life by one generation.

आप सीखेंगे ग्रिड सिमुलेशनपड़ोसी गिनना
AdvancedGridsHackathonSimulation
अभी तक कोई समाधान नहीं
कठिन

Strongly Connected Components

Count groups of nodes that can all reach each other.

आप सीखेंगे ग्राफ़ एल्गोरिदमटार्जन या कोसाराजू
AdvancedCompetitive-programmingGraphs
अभी तक कोई समाधान नहीं
कठिन

Minimum Window Substring

Find the shortest piece of text containing all required characters.

आप सीखेंगे विंडो बढ़ाना और घटानाआवृत्ति तालिका
AdvancedCompetitive-programmingSliding-windowStrings
अभी तक कोई समाधान नहीं
मध्यम

Shortest Weighted Routes

Find the minimum total route cost from city 1 to each city.

आप सीखेंगे डाइक्स्ट्रा एल्गोरिदमआलसी हटाना
GraphsPriority-queuesShortest-path
अभी तक कोई समाधान नहीं
कठिन

Longest Path in a DAG

Find the heaviest path in a task dependency graph.

आप सीखेंगे टोपोलॉजिकल क्रमDAG पर DP
AdvancedGraphsHackathonTopological-sort
अभी तक कोई समाधान नहीं
कठिन

Median of Two Sorted Arrays

Find the median of two sorted lists combined.

आप सीखेंगे विभाजन खोजO(log n)
AdvancedBinary-searchCompetitive-programming
अभी तक कोई समाधान नहीं
मध्यम

K-th Smallest Element

Find the k-th smallest value without fully sorting.

आप सीखेंगे क्विकसेलेक्टविभाजन
AdvancedCompetitive-programmingSorting
अभी तक कोई समाधान नहीं
कठिन

Largest Rectangle in a Histogram

Find the largest rectangle that fits under a histogram.

आप सीखेंगे मोनोटोनिक स्टैकक्षेत्रफल गणना
AdvancedCompetitive-programmingStacks
अभी तक कोई समाधान नहीं
कठिन

न्यूनतम नेटवर्क कनेक्शन लागत

ऐसे अविनिर्दिष्ट लिंक चुनें ताकि प्रत्येक शीर्षक (vertex) अन्य सभी शीर्षकों तक पहुँच सके, और कुल लागत न्यूनतम हो।

आप सीखेंगे क्रुस्कल एल्गोरिदमयूनियन-फ़ाइंड
Disjoint-setsGraphsMinimum-spanning-tree
अभी तक कोई समाधान नहीं
आसान

Distance Between Points

Compute the straight-line distance between two points.

आप सीखेंगे पाइथागोरस प्रमेयवर्गमूल
BeginnerFunctionsLearning-pathmath
अभी तक कोई समाधान नहीं
कठिन

Word Break

Decide whether text can be split into dictionary words.

आप सीखेंगे प्रीफ़िक्स DPटेक्स्ट को शब्दों में बाँटना
AdvancedDynamic-programmingHackathonStrings
अभी तक कोई समाधान नहीं
मध्यम

Count Islands

Count groups of connected land cells in a grid.

आप सीखेंगे फ़्लड फ़िलरिकर्सिव DFS
BeginnerGridsLearning-pathRecursion
अभी तक कोई समाधान नहीं
कठिन

Course Schedule Order

Order courses so every prerequisite comes first.

आप सीखेंगे कान का एल्गोरिदमचक्र पहचानना
AdvancedGraphsHackathonTopological-sort
अभी तक कोई समाधान नहीं
मध्यम

टूर्नामेंट स्टैंडिंग्स

मैच रिकॉर्ड्स से टीमों की रैंकिंग करें।

आप सीखेंगे परिणाम इकट्ठा करनाकुंजी से सॉर्ट करना
DictionariesParsingSorting
अभी तक कोई समाधान नहीं
मध्यम

Gradebook Top Student

Find the student with the highest average score.

आप सीखेंगे 2D सूचियाँऔसत
BeginnerFunctionsGridsLearning-path
अभी तक कोई समाधान नहीं
आसान

Count Pairs With a Sum

Count pairs of positions whose values add up to a target.

आप सीखेंगे इंडेक्स के जोड़ेदोहरी गिनती से बचना
ArraysBeginnerLearning-pathNested-loops
अभी तक कोई समाधान नहीं
आसान

Number Triangle

Build a triangle of increasing numbers.

आप सीखेंगे बढ़ती पंक्तियाँपंक्तियों के पार काउंटर
BeginnerLearning-pathNested-loopsPatterns
अभी तक कोई समाधान नहीं