JavaScript कोडिंग चैलेंज

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

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

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

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

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

225 चुनौतियाँ
आसान

फिबोनाच्ची संख्या

n-वीं फिबोनाच्ची संख्या लौटाएँ।

आप सीखेंगे इटरेशनदो वेरिएबल अपडेट करना
BeginnerLoopsSequencesStudent-beginner
आसान

Average of Three

Average three whole numbers.

आप सीखेंगे अंकगणितभाग
BeginnerLearning-pathVariables
आसान

Rectangle Perimeter

Compute the perimeter of a rectangle from its sides.

आप सीखेंगे अंकगणितलौटाए गए मान
BeginnerLearning-pathVariables
कठिन

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

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

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

Pyramid Rows

Draw a right-aligned pyramid of # blocks.

आप सीखेंगे स्ट्रिंग पैटर्नपैडिंग
BeginnerLearning-pathNested-loopsPatterns
मध्यम

Island Perimeter

Measure the coastline of land cells in a grid.

आप सीखेंगे किनारे गिनना4 पड़ोसी जाँचना
AdvancedGridsHackathon
अभी तक कोई समाधान नहीं
मध्यम

Shortest Weighted Routes

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

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

Tic-Tac-Toe Winner

Decide the result of a tic-tac-toe board.

आप सीखेंगे जीत की शर्तेंविकर्ण
BeginnerConditionsGridsLearning-path
कठिन

Trapping Rain Water

Compute how much rain water an elevation map holds.

आप सीखेंगे दो पॉइंटरप्रीफ़िक्स अधिकतम
AdvancedArraysCompetitive-programmingGreedy
आसान

Hollow Square

Draw the outline of a square with * characters.

आप सीखेंगे किनारे पहचाननास्ट्रिंग बनाना
BeginnerLearning-pathNested-loopsPatterns
कठिन

Mini Stack-Language Interpreter

Evaluate a small stack language.

आप सीखेंगे टोकन बनानानिर्देश चलाना
InterpretersParsingStacks
अभी तक कोई समाधान नहीं
मध्यम

रिकर्सिव पैलिंड्रोम

केस और विराम चिह्नों की अनदेखी करते हुए, पैलिंड्रोम को रिकर्सिव तरीके से जांचें।

आप सीखेंगे आधार मामलेस्ट्रिंग साफ़ करना
BeginnerLearning-pathRecursionStrings
कठिन

Count Inversions

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

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

Min and Max Together

Find the smallest and largest value in one pass.

आप सीखेंगे एक ही पासकई मान लौटाना
ArraysBeginnerFunctionsLearning-path
कठिन

Sliding Window Maximum

Report the maximum of every window of k numbers.

आप सीखेंगे मोनोटोनिक डेकO(n) विंडो
AdvancedCompetitive-programmingSliding-window
अभी तक कोई समाधान नहीं
आसान

कैश: सबसे कम सिक्कों में छुट्टे

संयुक्त राज्य अमेरिका के सिक्कों का उपयोग करके सबसे कम सिक्कों में छुट्टे दें।

आप सीखेंगे लालची एल्गोरिदमछुट्टे देना
BeginnerGreedyStudent-beginnermath
आसान

Halve Until One

Count how many halvings bring a number down to 1.

आप सीखेंगे while लूपगिनती
BeginnerLearning-pathLoops
मध्यम

भारित ग्रिड पर A* खोज

गेम और रोबोट के पाथफ़ाइंडिंग के पीछे के खोज एल्गोरिदम A* से भू-भाग लागत वाले ग्रिड में सबसे सस्ता रास्ता खोजें।

आप सीखेंगे A* खोजह्यूरिस्टिक
GraphsGridsShortest-pathएआई