Skip to content

This repository is dedicated to daily practice and mastery of data structures and algorithms. It contains solution & video explanation of each question

License

Notifications You must be signed in to change notification settings

Ayokunnumi1/data-structure-and-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structure And Algorithms

data structure


Data Structures

  • Arrays: A sequential collection of elements of the same data type stored in contiguous memory locations, allowing random access and efficient retrieval of elements using indexing.

  • Linked Lists: A linear data structure composed of nodes, where each node contains a data element and a reference (pointer) to the next node in the sequence. Linked lists support dynamic memory allocation and efficient insertion/deletion operations.

  • Stacks: A Last-In-First-Out (LIFO) data structure that allows elements to be inserted and removed from only one end, known as the top. Common operations include push (insertion) and pop (removal).

  • Queues: A First-In-First-Out (FIFO) data structure that allows elements to be inserted at the rear (enqueue) and removed from the front (dequeue). It follows the principle of "first come, first served."

  • Trees: A hierarchical data structure composed of nodes, where each node has a value and zero or more child nodes. Common types include binary trees, binary search trees, and balanced trees like AVL trees and B-trees.

  • Heaps: A specialized tree-based data structure that satisfies the heap property, which specifies the relationship between parent and child nodes. It can be a min heap (the smallest element is at the root) or a max heap (the largest element is at the root).

  • Hash Tables: A data structure that implements an associative array abstract data type, mapping keys to values using a hash function. It allows for efficient insertion, deletion, and lookup operations.

  • Graphs: A non-linear data structure consisting of vertices (nodes) and edges (connections) between them. Graphs can be directed or undirected and may have weighted or unweighted edges.

🚀 Hackerrank Tutorial Live Videos

🚀 Leetcode Tutorial Live Videos

  • Merge Sorted Array: You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively.Merge nums1 and nums2 into a single array sorted in non-decreasing order.Watch Video tutorial

About

This repository is dedicated to daily practice and mastery of data structures and algorithms. It contains solution & video explanation of each question

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published