→ البرمجة والكود
💻 البرمجة والكود 🤖 ChatGPT
Heap Data Structure Implementation Guide
البرومبت
Act as a senior software engineer with 10+ years of experience in data structures and algorithms. Provide a step-by-step guide on how to implement a [MIN/MAX] heap in [PYTHON/JAVA/C++], including detailed explanations of key operations like insertion, deletion, and heapify. Cover both the [ARRAY-BASED] and [TREE-BASED] representations, highlighting their time complexities and use cases. Include code snippets with comments, edge cases to consider, and practical examples like [PRIORITY QUEUE] applications. Explain how to handle dynamic resizing and optimize for performance in [LARGE-SCALE SYSTEMS].

كيف تستخدم هذا البرومبت؟

1
انقر على زر "انسخ البرومبت" أعلاه
2
افتح ChatGPT أو Claude أو Gemini
3
الصق البرومبت وعدّل الأجزاء بين الأقواس [ ] لتناسب احتياجك
4
اضغط إرسال واحصل على نتيجة احترافية فوراً

أسئلة شائعة

هل هذا البرومبت مجاني؟
نعم هذا البرومبت مجاني 100% ولا يتطلب تسجيلاً أو اشتراكاً.
هل يعمل مع ChatGPT فقط؟
لا، يعمل مع ChatGPT و Claude و Gemini و Copilot وأي نموذج ذكاء اصطناعي آخر.
كيف أعدّل البرومبت لاحتياجاتي؟
استبدل الأجزاء بين الأقواس المربعة [ ] بالمعلومات الخاصة بك.