Skip to content

It will help for the interview rounds. C++ and python programs.

License

Notifications You must be signed in to change notification settings

subbaraokanamarlapudi/DS-30-days

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Graph coloring algorithm in easy way to understand the code. I done by taking user input values for the graph coloring code.

DS-30-days

It will help for the interview rounds. C++ and python programs.

DAY - 01:

QUESTION: We have to find the max number in given array --> like the given array is divided into subarrays and the sum of the max number in subarrays.

Day - 02:

QUESTION: Given a matrix. It would be rotate 90° and transpose matrix.

Day - 03:

QUESTION: Find the next permutation in an array
Input : [1,3,2]
Output : [2,1,3]

Day - 04:

Question: Find the sum of 2 numbers in an array and give the index of the 2 numbers
I/P is: {2,7,11,19} and sum is 9
output is : [0,1] like ----> index of 2 numbers

Day - 05:

Question: Find the middle element of linked list

Input: 2,7,11,15
Output: 11

Day - 06:

Question: Implement Linked List & Solve Day 5


Example Input1
2, 7, 11, 15
Example Output1
11
Example Input2
2, 7, 11, 15, 21
Example Output2
15

Day - 07:

Question: Reverse a linked list


Example Input1
2->7->11->15->NULL
Example Output1
NULL<-2<-7<-11<-15

About

It will help for the interview rounds. C++ and python programs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published