- 54
- 366 874
Mazen Labs
เข้าร่วมเมื่อ 10 ก.ค. 2021
10. Binary Exponentiation - in Arabic | Mazen Labs
Binary Exponentiation - Explanation
شرح
--------------------------------------------
00:00 Intro
00:57 why ?
02:42 Idea
07:50 Implementation
11:52 Problem idea
13:24 Problem solution
--------------------------------------------
Problem on Leetcode
leetcode.com/problems/powx-n/description/
--------------------------------------------
➕ Read more about binary exponentiation from cp-algorithms website
cp-algorithms.com/algebra/binary-exp.html
---------------------------------------------
Problem Solving Techniques Playlist :
th-cam.com/play/PLq4U6dmCSxTkExUcodG3CX0fL4QXid-nw.html&si=mEStuvGJZBggWjIZ
---------------------------------------------
Software and Programs Playlist :
th-cam.com/play/PLq4U6dmCSxTlOCksl_DdqffcfJrbRQfaM.html
----------------------------------------------
Assiut Sheet Solution Playlist :
th-cam.com/play/PLq4U6dmCSxTmbWdGBY2ivNI0tLb5QdGag.html
----------------------------------------------
Star Patterns Playlist :
th-cam.com/play/PLq4U6dmCSxTlicbdbY59F65yfloov2W3L.html
-----------------------------------------------
Newcomers Tutorials for PS :
th-cam.com/play/PLq4U6dmCSxTm61UdkhxBhs1pYiqFw88wK.html
Don't Forget to like, comment, share, subscribe to my channel and see you in the next video ❤️
----------------------------------------------
#coding #binary #maths #power #ps #programming #problemsolving #algorithm
#code #cpp #leetcode #prefixsum #binarysearch #complexity
شرح
--------------------------------------------
00:00 Intro
00:57 why ?
02:42 Idea
07:50 Implementation
11:52 Problem idea
13:24 Problem solution
--------------------------------------------
Problem on Leetcode
leetcode.com/problems/powx-n/description/
--------------------------------------------
➕ Read more about binary exponentiation from cp-algorithms website
cp-algorithms.com/algebra/binary-exp.html
---------------------------------------------
Problem Solving Techniques Playlist :
th-cam.com/play/PLq4U6dmCSxTkExUcodG3CX0fL4QXid-nw.html&si=mEStuvGJZBggWjIZ
---------------------------------------------
Software and Programs Playlist :
th-cam.com/play/PLq4U6dmCSxTlOCksl_DdqffcfJrbRQfaM.html
----------------------------------------------
Assiut Sheet Solution Playlist :
th-cam.com/play/PLq4U6dmCSxTmbWdGBY2ivNI0tLb5QdGag.html
----------------------------------------------
Star Patterns Playlist :
th-cam.com/play/PLq4U6dmCSxTlicbdbY59F65yfloov2W3L.html
-----------------------------------------------
Newcomers Tutorials for PS :
th-cam.com/play/PLq4U6dmCSxTm61UdkhxBhs1pYiqFw88wK.html
Don't Forget to like, comment, share, subscribe to my channel and see you in the next video ❤️
----------------------------------------------
#coding #binary #maths #power #ps #programming #problemsolving #algorithm
#code #cpp #leetcode #prefixsum #binarysearch #complexity
มุมมอง: 36
วีดีโอ
09. Binary Search ( Practice ) in Arabic | Mazen Labs
มุมมอง 4114 วันที่ผ่านมา
Binary Search - Practice Practice on Binary search by answer and Ternary search Problem 1 : Factory Machines - CSES cses.fi/problemset/task/1620/ Problem 2 : Find Peak Element - Leetcode leetcode.com/problems/find-peak-element/description/ More Problems : codeforces.com/group/isP4JMZTix/contest/379072 00:00 Intro 00:56 Problem 1 05:17 Solution 10:21 Problem 2 10:53 Python Solution 14:17 C Solut...
08. Binary Search ( 2 Standard Problem ) in Arabic | Mazen Labs
มุมมอง 3421 วันที่ผ่านมา
Binary Search - 3 Standard Problems solving 2 problems on ( closest to left ( lower bound ) - closest to right ( upper bound ) - binary search on doubles ) Problem 1 : Binary Search - Codeforces codeforces.com/group/c3FDl9EUi9/contest/264941/problem/A Problem 2 : Solve Equation - Codeforces codeforces.com/group/c3FDl9EUi9/contest/264941/problem/C 00:00 Intro 00:47 Problem 1 01:52 Solution 1 - i...
07. Binary Search - Part 2 ( The Explanation ) in Arabic | Mazen Labs
มุมมอง 43หลายเดือนก่อน
Binary Search Algorithm - Part 2 - Explanation شرح الباينري سيرش 1. Binary Search on Doubles 2. Binary Search by answer 3. Ternary Search 00:00 Intro 00:34 Binary Search on Doubles 06:58 Binary Search by Answer 10:35 Ternary Search ➕ Read more about binary search from cp-algorithms website cp-algorithms.com/num_methods/binary_search.html Problem Solving Techniques Playlist : th-cam.com/play/PLq...
06. Binary Search - Part 1 ( The Explanation ) in Arabic | Mazen Labs
มุมมอง 43หลายเดือนก่อน
Binary Search Algorithm - Part 1 - Explanation شرح الباينري سيرش binary search & upper bound & lower bound 00:00 Intro 01:16 ex problem 04:24 Binary Search 13:35 Closest to Right 17:02 Closest to Left ➕ Read more about binary search from cp-algorithms website cp-algorithms.com/num_methods/binary_search.html Problem Solving Techniques Playlist : th-cam.com/play/PLq4U6dmCSxTkExUcodG3CX0fL4QXid-nw...
05. Prefix Sum ( Practice ) in Arabic | Mazen Labs
มุมมอง 71หลายเดือนก่อน
Prefix Sum - Practice in C Practice on more advanced Problems ... Problems Links: Problem 1 : Sereja and Suffixes - Codeforces codeforces.com/problemset/problem/368/B Problem 2: Counting Test - Codeforces codeforces.com/gym/101532/problem/D More Problems : codeforces.com/group/isP4JMZTix/contest/386415 00:00 Intro 00:35 Problem 1 idea 05:32 Problem 1 solution 12:11 Problem 2 idea 24:48 Problem ...
04. Prefix Sum ( 3 Standard Problem ) in Arabic | Mazen Labs
มุมมอง 37หลายเดือนก่อน
Prefix (Cumulative) sum - 3 Standard Problems Problem 1 : Range sum query - Codeforces codeforces.com/group/c3FDl9EUi9/contest/262795/problem/E Problem 2 : update range - Codeforces codeforces.com/group/c3FDl9EUi9/contest/262795/problem/F Problem 3 : range sum 2d - Codeforces codeforces.com/group/c3FDl9EUi9/contest/262795/problem/G More Standard Problems : 1. Static Range Sum Queries - CSES cse...
03. Prefix Sum ( The Explanation ) in Arabic | Mazen Labs
มุมมอง 88หลายเดือนก่อน
Prefix (Cumulative) sum - Explanation شرح بريفكس 1D - 2D Prefix Sum Computing range sum queries in constant time ✅ 00:00 Intro 00:36 Range Queries 03:15 Prefix Sum 1D 07:50 Suffix Sum 09:16 Prefix Sum 2D 15:31 Imp. Some Uses 18:48 Update Range Software and Programs Playlist : th-cam.com/play/PLq4U6dmCSxTlOCksl_DdqffcfJrbRQfaM.html Assiut Sheet Solution Playlist : th-cam.com/play/PLq4U6dmCSxTmbW...
02. Frequency Array ( Practice ) in Arabic | Mazen Labs
มุมมอง 1102 หลายเดือนก่อน
Frequency Array - Practice in C & Python Problems Links: Problem 1 : Sort String - Codeforces codeforces.com/group/MWSDmqGsZm/contest/219856/problem/O Problem 2: George the dictator - Codeforces codeforces.com/group/u3Ii79X3NY/contest/270254/problem/T Problem 3: First Missing Positive - Leetcode leetcode.com/problems/first-missing-positive/description/ More Problems : codeforces.com/group/isP4J...
01. Frequency Array ( The Explanation ) in Arabic | Mazen Labs
มุมมอง 1822 หลายเดือนก่อน
Frequency Array Explanation شرح الفريكونسي أراي Problem : Sort String - CodeForces codeforces.com/group/MWSDmqGsZm/contest/219856/problem/O 00:00 أهمية الـ Frequency Array 02:13 خصائص الـ Array 03:19 Frequency Array for Positive Integers 06:36 Frequency Array for Chars 11:44 ايه المشاكل اللي هتقابلك ف استخدامها 17:04 ايه البديل والحل للمشاكل دي Software and Programs Playlist : th-cam.com/play/P...
How to Install Ubuntu 22.04 LTS on VirtualBox in Windows | Mazen Labs
มุมมอง 3022 ปีที่แล้ว
Hi INSTALL Oracle VM VirualBox www.virtualbox.org/wiki/Downloads Download UBUNTU 22.04 ubuntu.com/download/desktop Software and Programs th-cam.com/play/PLq4U6dmCSxTlOCksl_DdqffcfJrbRQfaM.html Don't Forget to like, comment, share and subscribe to my channel and see next video
How to Install PyCharm IDE & Python on Windows | Mazen Labs
มุมมอง 1612 ปีที่แล้ว
Hi Download Pycharm IDE for Python www.jetbrains.com/pycharm/download/#section=windows Download Python www.python.org/ أتعلم أكتر عن لغة بايثون باللغة العربية @ElzeroWebSchool أو @Codezilla أو @AbdelrahmanGamal من خلال ال playlists دى th-cam.com/play/PLDoPjvoNmBAyE_gei5d18qkfIe-Z8mocs.html أو دى th-cam.com/play/PLuXY3ddo_8nzrO74UeZQVZOb5-wIS6krJ.html أو دى th-cam.com/play/PLknwEmKsW8OsG8dnisr_-...
6 - Butterfly and X char With C++ | Star Patterns | Mazen Labs
มุมมอง 5K2 ปีที่แล้ว
- Star Patterns using C - .............................................. 1- Butterfly 0:05 Diagram 1:50 Pattern Code 5:22 The Shape .............................................. 2- X char 5:56 Diagram 6:55 Pattern Code 8:27 The Shape .............................................. Software and Programs th-cam.com/play/PLq4U6dmCSxTlOCksl_DdqffcfJrbRQfaM.html ........................................
5 - Diamonds With C++ | Star Patterns | Mazen Labs
มุมมอง 9K2 ปีที่แล้ว
- Star Patterns using C - .............................................. 1- Solid Diamond 0:04 Diagram 1:33 Pattern Code 4:26 The Shape .............................................. 2- Hollow Diamond 4:39 Diagram 6:06 Pattern Code 9:54 The Shape .............................................. Software and Programs th-cam.com/play/PLq4U6dmCSxTlOCksl_DdqffcfJrbRQfaM.html ............................
4 - Hollow Pyramid With C++ | Star Patterns | Mazen Labs
มุมมอง 4.8K2 ปีที่แล้ว
- Star Patterns using C - .............................................. 1- Hollow Pyramid 0:05 Diagram 2:14 Pattern Code 4:53 The Shape .............................................. 2- Hollow Inverted Pyramid 5:11 Diagram 6:57 Pattern Code 9:32 The Shape .............................................. Software and Programs th-cam.com/play/PLq4U6dmCSxTlOCksl_DdqffcfJrbRQfaM.html ..................
3 - Hollow Half Pyramid With C++ | Star Patterns | Mazen Labs
มุมมอง 7822 ปีที่แล้ว
3 - Hollow Half Pyramid With C | Star Patterns | Mazen Labs
2 - Full Pyramid With C++ | Star Patterns | Mazen Labs
มุมมอง 4552 ปีที่แล้ว
2 - Full Pyramid With C | Star Patterns | Mazen Labs
1 - Half Pyramid With C++ | Star Patterns | Mazen Labs
มุมมอง 1K2 ปีที่แล้ว
1 - Half Pyramid With C | Star Patterns | Mazen Labs
How to install PROTUOS PCB Design and Circuit Simulation on Windows | Mazen Labs
มุมมอง 842 ปีที่แล้ว
How to install PROTUOS PCB Design and Circuit Simulation on Windows | Mazen Labs
How to install FRITZING Software for Designers on windows | Mazen Labs
มุมมอง 1.2K2 ปีที่แล้ว
How to install FRITZING Software for Designers on windows | Mazen Labs
How to install VISUAL STUDIO 2022 and C# on Windows | Mazen Labs
มุมมอง 117K2 ปีที่แล้ว
How to install VISUAL STUDIO 2022 and C# on Windows | Mazen Labs
How to install VS CODE on Windows for Web Developers | Add some EXTENSIONS | Mazen Labs
มุมมอง 6182 ปีที่แล้ว
How to install VS CODE on Windows for Web Developers | Add some EXTENSIONS | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem Z | Hard Compare | Mazen Labs
มุมมอง 8K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem Z | Hard Compare | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem Y | The last 2 digits | Mazen Labs
มุมมอง 8K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem Y | The last 2 digits | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem X | Two Intervals | Mazen Labs
มุมมอง 8K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem X | Two Intervals | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem W | Mathematical Expression | Mazen Labs
มุมมอง 4.1K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem W | Mathematical Expression | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem V | Comparison | Mazen Labs
มุมมอง 4.2K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem V | Comparison | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem U | Float or int | Mazen Labs
มุมมอง 5K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem U | Float or int | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem T | Sort Numbers | Mazen Labs
มุมมอง 6K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem T | Sort Numbers | Mazen Labs
ICPC Assiut Sheet | Sheet 1 | problem S | Interval | Mazen Labs
มุมมอง 3.2K2 ปีที่แล้ว
ICPC Assiut Sheet | Sheet 1 | problem S | Interval | Mazen Labs
فين فيديو ال %
@@wadas908 قريباً إن شاء الله
منتظرين الجديد ي هندسه🤍
@@abdallahgomaa192 من عيوني ❤️
جزاك الله خيرًا ياصديقى
@@AhmedIsmail-u3r اللهم آمين وإياكم يا صديقي ❤️
Ternary Operator condition ? true : false
ح تكمل السلسلة اخي
@@kingclash4619 ايوة بإذن الله ❤️
@@mazen_labs الله يعطيك العافية
ماشاء الله ربنا يكرمك دايما يارب يحبيب ❤❤
@@YasserMoawad-g1d بحبك ❤️
هو مكان مسابقة ال acpc بيبقي فين ؟ يعني بعد ما اتاهلنا في ال ecpc و كمان خدنا مثلا مركز 20 هنروح فين بقي عشان ننافس علي مستوي الوطن العربي و افريقيا ؟
فى الغالب مصر بتنظم برضو المسابقة على مستوي أفريقيا والوطن العربي لكن ممكن جدا أي دوله عربية تانيه أو أفريقية تنظمها دا بيعلنوا عنه قبلها
جزاك الله خيرًا ياصديقى
آمين وإياكم ياصديقي ❤
بالتوفيق ي هندسه 🤍
@@abdallahgomaa192 يعم بحبك ❤️
زلة لسان فـ 20:05 أفضل حل هو اللي موجود فالـ ans وهو 10 مش 15
Remember Standard Problem are NOT enough هتلاقي هنا مسائل أكتر صعوبة : th-cam.com/video/cWOAvZT6L8k/w-d-xo.html
Thank you but how to remove the yellow bar on the left side of the code it is just really annoying to look at
actually i don't know but it's useful to know the latest changes
greate content , keep going , btw can you explain more the update range of the video , i didn't understand it well and thank you ! <3
@@aziztaamalli2546 شكرا جدا على الفيدباك دي ❤️ ممكن تشوف حل سؤال مباشر عليها من هنا th-cam.com/video/Sw-Ko1vyxfI/w-d-xo.htmlsi=EcHeQ6oPaSxgSff8
thank you!
song?
عاش ي اخوياااا ❤🥰
تسلم يا محمود ❤️
هتلاقوا هنا تفصيل أكتر كنت جمعته للـ Map github.com/mazen-alasas/Standard-Template-Library
عندي سؤال محيرني هو احنا كده لما بنضرب ال long long مع ال int كده القيمه بتتخزن ف السايز الاكبر الي هو ال long long ولا اي ؟
@@BADR.ASHRAF مظبوط دا صحيح لكن لو عملت العمليه دي وحطيط القيمة ف int مثلا وهي اكبر من int هيحصل overflow والقيمة هتبوظ
@@mazen_labs شكرا لردك
@@BADR.ASHRAF الشكر لله ولا يهمك ❤️
import java.util.Scanner; public class DigitsSummation { public static void main(String[] args) { System.out.print ("Enter N , M: "); Scanner sc = new Scanner(System.in); long N = sc.nextLong(); long M = sc.nextLong(); long sum_last = (N%10)+(M%10); System.out.println (sum_last); } } الحل ف الجافا.
Thanks
counter بتعمل كدا
ف بايثون يعني
@@wadas908 مظبوط هنتكلم عنها بإذن الله
ربنا يبارك لك ويجازيك كل خير يصديقي❤
@@YasserMoawad-g1d آمين يارب وإياكم ❤️
جزاك الله خيرا يا صاحبي 💚💚
@@ahmednader5126 آمين وإياكم ياصديقي ❤️
نفع الله بك 🤍
@@abdallahgomaa192 اللهم آمين وإياكم ❤
أنصح بالمشاهدة. شرح ممتاز. تحياتي🌹
@@abdosaad4476 عبدو محمد محمود أحمد محمد محمود أحمد محمد أحمد محمود محمد محمود أحمد محمد محمود أحمد سعد أهلاً بيك يا فندم 🌷
thanks...
لغه البرمجه مينفعش c# ؟
لا دا المسموح بيه بس
thanks mate!
bro is showing us the full uncut version so we don't think he's cheating
hey im back again can u show me some webs to learn programming easily plaese? and thank you !
www.w3schools.com/ the simplest one for this or you can see www.freecodecamp.org/ after that don't forget to practice leetcode.com and do some educational projects.
@@mazen_labs Thanks mate!
لو عندي مشكله ف الحل اعالجها ازاي م بعرف احل؟
بتختلف علي حسب الكود ممكن تحتاج تقرأ السؤال تاني وتتأكد انك فاهمه كويس واوقات يكون الحل صح لكن فيه اخطاء فى ال syntax وممكن يكون اللوجيك بتاع التفكير مش مظبوط الأفضل تتدرب مع كومينتي علشان يوجهوك صح
ازاي اعمل كومينتي للمعهد بتعنا ،علشان المعهد بتاعنا جديد
ممكن تتواصل مع كومينتي القاهرة او المنصوره هيعرفوك التفاصيل هتلاقي صفحاتهم على فيسبوك
good job, do u have a linked in?
best of luck sir -keep it up
Thank you, it was so frustrating not having the main loop generated and shortcuts not working!
بحاول احلها ب c #include <stdio.h> int var1; long long var2; char var3; float var4; double var5; int main() { scanf("%i %ld %c %g %g",&var1,&var2,&var3,&var4,&var5); printf("%i %ld %c %0.2g %0.1g ",var1,var2,var3,var4,var5); ;0 return } بس مش عارفة ايه غلط؟
لا انت كدا فكرتي ف السؤال غلط عندك رقمين بس ك input ومطلوب تجمعي الرقم اللي ف خانة الآحاد ف الرقم الاول مع الرقم اللي في خانة الآحاد ف الرقم التاني
انا عملتها ب switch case و جابلي combilation error
راجع syntax الكود بس
How do you get the "download file info" window to appear that way?
جزاك الله خيرا ❤
آمين وإياكم
جزاك الله خيرا ❤
آمين وإياكم
جزاك الله خيراً❤
آمين وإياكم
جزاك الله خيراً❤
آمين وإياكم
بتتحل ب ناستد اف بردو
Thank you man love you ❤️
Thanks! This was very helpful!
Thank you very much🙏🙏❤
thank you so much, it's really work!
wasn't fast as video. Download package takes lot of time
ya i just increased the speed at this point
Any idea how to make it work with "Console App" and not "Console App (.NET)"?
#include<iostream> #include<algorithm> using namespace std; int main() { int arr[3] ; int arr2[3] ; for (int i=0 ; i<3 ;i++) cin >> arr[i] ; for (int i=0 ; i<3 ;i++) arr2[i] = arr[i] ; sort(arr,arr+3) ; for (int i=0 ; i<3 ;i++) cout << arr[i] << endl ; cout << " " ; for (int i=0 ; i<3 ;i++) cout << arr2[i] << endl ; }
في الشيت دا مطلوب تحل باستخدام ال conditions فقط للتدريب لكن طالما الحل صح ف مفيش مشكلة