Skip to content

All codes and assignments of Algorithms and Data Structure of CDAC ACTS, Pune

Notifications You must be signed in to change notification settings

coder-abhi/CDAC_ADS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advance Data Structure

All the assignments of Advance Data Structure in CDAC ACTS
by ~ Abhi Kamble

Day 1 - (29 OCT)

  • Time Complexity and Space complexities
  • Queue using array- Code
  • Queue Generic - Code
  • Implement Stack - Code
  • Implement Stack Generic - Code

Day 2 - (31 OCT)

  • Implement Queue Using Stack - Code
  • Implement Stack Using 2 Queue - Code
  • Implement Stack Using 1 Queue - Answer
  • Reverse last N elements in Stack - Answer
  • Circular queue - To Do
  • J-Unit test cases

Day 3 - (01 NOV)

  • Singly Linked List - Code
  • Sorted Linked List - Code

Day 4 - (02 NOV)

  • Queue Using Linked List - Code
  • Stack Using Linked List - Code

Day 5 - (03 NOV)

  • Reverse a Linked List - Code
    • Using stack
    • Using only Pointers
  • Merge 2 Sorted Linked List
  • Doubly Linked List - Code

Day 6 - (04 NOV)

  • Circular Linked List - Code
  • Doubly Circular Linked List - Code

Day 8 - (07 NOV)

  • Using array to allocate memory for all nodes of a Linked list
  • Recursion - Code
    • Divide without using '/'
    • Multiply Without using '*'
    • Find Reminder without using '%'
    • Find factorial

Tree

  • Tree - Code
    • Printing in Inorder - Using Recursion
    • Printing in Preorder - Using Recursion
    • Printing in Postorder - Using Recursion
    • Printing in Inorder - Iterative
    • Printing in Preorder - Iterative
    • Printing in Postorder - Iterative
    • Count frequency of Node in a binary tree

Day 9 - (08 NOV)

  • Binary Search Tree - Code

    • Insert
    • Mirror of tree / Inversion of tree
    • Search and delete in BST
    • Count no. of a leaf node in BST
    • Lever order printing
    • Height of Tree - using recursion
    • Height of tree - without recursion
  • Build a tree having unique values with

    • Inorder and Preorder traversal
    • Inorder and Postorder traversal
  • find the smallest element in a binary search tree - Code

  • find the largest element in a binary search tree. - Code

Day 10 - (10 NOV)

  • AVL Tree - Code
    • Insert in AVL
    • Delete in AVL
    • Advance tree printing
  • Red Black tree
  • Trie
  • B Tree
  • B+ Tree
  • Find a element in a sorted array that is rotated by K elements

Day 11 - (11 NOV)

  • Bubble sort - code
  • Selection sort - code
  • Insertion sort - code
  • Linear Search - code
  • Binary Search - code

Day 12 - (12 NOV)

  • Quick sort - Divide and Conquer - code
  • Merge sort - Divide and Conquer - code
  • Heap sort - code

Exercise Quesions

  • Match Paranthesis - Answer
  • Remove Duplicate using Recursion - Answer

About

All codes and assignments of Algorithms and Data Structure of CDAC ACTS, Pune

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages