क्या मेरा डेटा अपलोड होता है?
नहीं। सामान्य उपयोग में यह टूल आपके ब्राउज़र में चलता है, आपका दिया डेटा किसी सर्वर पर नहीं भेजा जाता।
टूल का नाम, फ़ॉर्मैट या काम लिखें
Breadth-First Pathfinding: एनिमेशन. फ़्रंट-एंड के लिए एनिमेटेड एल्गोरिदम: सॉर्टिंग, सर्च, डिबाउंस और थ्रॉटल, इवेंट लूप, वर्चुअल DOM, कैश, ट्राई और पाथफ़ाइंडिंग। आपके ब्राउज़र में तेज़, निजी और आसान।
नीचे टूल के बटन और टेक्स्ट अभी अंग्रेज़ी में हैं।
Loading animation...
Breadth-First Pathfinding: एनिमेशन AllConvertTools.uz टूल हब का हिस्सा है: एक तेज़, केंद्रित पेज जहाँ लंबे विवरण से पहले काम करने वाला टूल मिलता है।
नहीं। सामान्य उपयोग में यह टूल आपके ब्राउज़र में चलता है, आपका दिया डेटा किसी सर्वर पर नहीं भेजा जाता।
हाँ। मुख्य कन्वर्टर मुफ़्त है और बिना साइन-अप के तुरंत काम करता है।
दोबारा खोजे बिना काम जारी रखें।
Breadth-first search spreads out from the start one ring at a time, so the first time it reaches the goal it has found a shortest path.
function bfs(grid, start, end) {const queue = [start];const prev = new Map([[key(start), null]]);while (queue.length) {const cur = queue.shift();if (same(cur, end)) return buildPath(prev, cur);for (const next of neighbours(grid, cur)) {if (prev.has(key(next))) continue;prev.set(key(next), cur);queue.push(next);}}return null;}
Tip: use the arrow keys to step and the space bar to play or pause.