Skip to content

VipulDhillon/Data_struct_geek4geek

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data_struct_geek4geek

Geeksforgeeks data structure problem solutions

Array- array

1st problem- https://www.geeksforgeeks.org/array-rotation/
1st solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/Timecomplex_array_rotation.cpp

2nd problem- https://www.geeksforgeeks.org/program-for-array-rotation-continued-reversal-algorithm/
2nd solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/Spacecomplex_array_rotation.cpp

3rd problem- https://www.geeksforgeeks.org/c-program-cyclically-rotate-array-one/
3rd solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/Cyclic_unit_array_rotation.cpp

4th question- https://www.geeksforgeeks.org/binary-search/
4th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/Binary_search.cpp

5th question- https://practice.geeksforgeeks.org/problems/sum-of-series2811/1
5th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/Sum_of_first_n_natural_no.cpp

6th question- https://www.geeksforgeeks.org/search-an-element-in-a-sorted-and-pivoted-array/
6th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/Binary_search_in_rotated_array.cpp

7th question- https://www.geeksforgeeks.org/linked-list-set-1-introduction/
7th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/printLinkedList.cpp

8th question- https://www.geeksforgeeks.org/linked-list-set-2-inserting-a-node/
8th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/insertingNodeInLinkedList.cpp

9th question- https://www.geeksforgeeks.org/linked-list-set-3-deleting-node/
9th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/deleteNode.cpp

After getting the underlying principle of linkedList i thought to creat a basic structure of linkedList and its basic operation and here it is- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/linkedList.cpp

10th question- https://www.geeksforgeeks.org/find-length-of-a-linked-list-iterative-and-recursive/
10th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/linkListSize.cpp

11th question- https://www.geeksforgeeks.org/write-a-function-to-get-nth-node-in-a-linked-list/
11th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/nodeValue.cpp

12th question- https://www.geeksforgeeks.org/nth-node-from-the-end-of-a-linked-list/
12th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/nodeValueFromLast.cpp

13th question- https://www.geeksforgeeks.org/stack-data-structure-introduction-program/
13th solution- https://github.com/prathamiitp/Data_struct_geek4geek/blob/master/pushPop.cpp

About

Geeksforgeeks data structure problem solutions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%