Skip to content

noob-entity/Linear-DSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataStructures-Algorithms

This repository is created to track my DS algorithms Preparation
ARRAY
An array is a group of like-typed variables that are referred to by a common name. Arrays in Java work differently than they do in C/C++.
Array can contain primitives (int, char, etc.) as well as object (or non-primitive) references of a class depending on the definition of the array. In case of primitive data types, the actual values are stored in contiguous memory locations. In case of objects of a class, the actual objects are stored in heap segment.
Syntax
int[] intArray = new int[20];
Problems
Program for array rotation
(https://www.geeksforgeeks.org/array-rotation/)
Search an element in a sorted and rotated array
(https://www.geeksforgeeks.org/search-an-element-in-a-sorted-and-pivoted-array/)
LINKED LIST
Display Linked List
(https://practice.geeksforgeeks.org/problems/print-linked-list-elements/)
Sum The Nodes of Linked List
(https://www.geeksforgeeks.org/sum-of-the-nodes-of-a-singly-linked-list/)
Count nodes of linked list
(https://practice.geeksforgeeks.org/problems/count-nodes-of-linked-list/)
Maximum And Minimum In Linked List
(https://www.geeksforgeeks.org/find-smallest-largest-elements-singly-linked-list/)

About

This repository is created to track my DS algorithms Preparation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages