DSA-in-December

โœจ ๐——๐—ฎ๐˜† ๐Ÿด: ๐——๐˜†๐—ป๐—ฎ๐—บ๐—ถ๐—ฐ ๐— ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜† ๐—”๐—น๐—น๐—ผ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป โœจ

๐Ÿ“Œ When we declare a variable or an array of any data type the space occupied by them in the systemโ€™s memory remains constant throughout the execution of the program. Sometimes the constant space allocated at the compile-time may fall short, and to increase the space during run-time we came through the concept of Dynamic Memory Allocation. Allocation and Deallocation of memory at run-time in C are done using the concept of Dynamic Memory Allocation. It is a method in which we use different library functions like malloc(), calloc(), realloc(), and free() to allocate and deallocate a memory block during run-time. It is considered as a very important topic because almost every Data Structure (such as Linked Lists, Stack, Queue, Trees, etc.) is associated with the concept of Dynamic Memory Allocation.

โœ๏ธ ๐—™๐—ผ๐—ฟ ๐—ฏ๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐˜‚๐—ป๐—ฑ๐—ฒ๐—ฟ๐˜€๐˜๐—ฎ๐—ป๐—ฑ๐—ถ๐—ป๐—ด ๐—ฟ๐—ฒ๐—ณ๐—ฒ๐—ฟ ๐—ณ๐—ผ๐—น๐—น๐—ผ๐˜„๐—ถ๐—ป๐—ด ๐—ฎ๐—ฟ๐˜๐—ถ๐—ฐ๐—น๐—ฒ๐˜€ ;

  1. https://www.geeksforgeeks.org/what-is-dynamic-memory-allocation/
  2. https://www.javatpoint.com/dynamic-memory-allocation-in-c
  3. https://www.scaler.com/topics/c/dynamic-memory-allocation-in-c/

๐Ÿ“ฝ๏ธ ๐—ง๐˜‚๐˜๐—ผ๐—ฟ๐—ถ๐—ฎ๐—น ๐—Ÿ๐—ถ๐—ป๐—ธ๐˜€;

  1. https://youtu.be/udfbq4M2Kfc
  2. https://youtu.be/LQXueqsbxRU
  3. https://youtu.be/q8j8EqCZcWM