There are so many duas to increase memory and intelligence. What is the best dua among them?
What can be done to attain the maximum capacity of the brain? And dua supplications which can help me achieve maximum capacity of my brain?

Al-Tabarsi narrates the following hadith in his book Makarem al-Akhlaaq:

الحسن الطبرسي في (مكارم الأخلاق) عن سدير، يرفعه إلى الصادقين (عليها السلام) قالا: تكتب بزعفران الحمد وآية الكرو (إنا أنزلناه) ويس والواقعة و (سبح لله) الحشر وتبارك و (قل هو الله أحد) والمعوذتين، في إناء نظيف ثم تغسل ذلك بماء زمزم أو بماء المطر أو بماء نظيف ثم تلقي عليه مثقالين لبانا، وعشر مثاقيل سكرا وعشر مثاقيل عسلا ثم تضع تحت السماء بالليل ويضع على رأسه حديد ثم تصلي آخر الليل ركعتين، تقرأ في كل ركعة الحمد مرة و (قل هو الله أحد) خمسين مرة، فإذا فرغت من صلاتك شربت الماء على ما وصفت فإنه جيد مجرب للحفظ إن شاء الله

With Saffron, you write Sura Hamd, verse of Inna Anzalnahu, Yasin, Waqi’ah, Hashr, Tabarak, Ikhlaas, Falqa and Naas—all in a clean container or plate. Then you wash it with Zamzam water or pure rainwater, then you add to it 2 methqaals of Frankincense, 10 methqaals sugar, 10 methqaals honey, and then you put it at night under the sky with an iron lid on it. Then at the end of the night you pray 2 rak’as, in each rak’a Sura Hamd and 50 times Sura Ikhlaas, then when you finish you drink this water. It’s good for memory and intelligence.

We also have the intellect, which is more important than intelligence. Eating Yaqtin (pumpkin or squash) is also highly recommended in our hadiths to increase one’s intellect. The book of Kafi examines ways to develop the intellect.

https://youtube.com/playlist?list=PLrK-FXb0E44utlqTeafpwSWjyT_xncI19