Commit cdbb119
Heaps (#19)
* Logs
- Added Array based Circular Queues
* Commit Logs
- Enabled heaps
- Array based heap support enabled
- Heap operations such as Heapify and delete max tested
- Heap Sort tested
* Tested heap insert and heap delete root operations
* Added #define Flags for Data Structures
* Logs
- Added Array based Circular Queues
* Added generic print for queue
* Commit Logs
- Enabled heaps
- Array based heap support enabled
- Heap operations such as Heapify and delete max tested
- Heap Sort tested
* Tested heap insert and heap delete root operations
* Added #define Flags for Data Structures
* Added generic print for heaps and bug fix of heap ptr not being set
* q peek added and fn gent ptrs added
* changed to genric fn ptrs
* Cosmetic changes for Heaps to enable Doxygen
* Squashed commit of the following:
commit f4377ef
Author: Meraj <[email protected]>
Date: Fri Jul 2 01:11:53 2021 +0530
Update README.md
Build and run commands
commit 93ce3e7
Author: Meraj <[email protected]>
Date: Fri Jul 2 01:02:16 2021 +0530
Queues (#17)
* Logs
- Added Array based Circular Queues
* Logs
- Added Array based Circular Queues
* Added generic print for queue
* q peek added and fn gent ptrs added
* Squashed commit of the following:
commit 151df29
Author: BlindCentaur <[email protected]>
Date: Mon Jun 14 23:15:53 2021 +0530
Added functions for Link list based stacks
commit aa327c3
Merge: 640429c 9a3759b
Author: BlindCentaur <[email protected]>
Date: Mon Jun 14 21:48:11 2021 +0530
Merge branch 'link_list' into stacks
commit 9a3759b
Author: jar3m <[email protected]>
Date: Mon Jun 14 21:38:25 2021 +0530
moved destroy to end
commit de18fc1
Author: BlindCentaur <[email protected]>
Date: Sat Jun 12 01:03:29 2021 +0530
rectified del_idx and added tests, WIP: Circular count is incorrect
commit d5adfab
Author: jar3m <[email protected]>
Date: Wed Jun 9 10:48:21 2021 +0530
added function ptr for destroy and print in linklist
commit 12990f5
Author: BlindCentaur <[email protected]>
Date: Tue Jun 8 22:41:14 2021 +0530
print for XOR LL and fixed compilation issues
commit a8da18d
Author: BlindCentaur <[email protected]>
Date: Thu Jun 3 23:55:01 2021 +0530
fixed xor ll delete
commit 5f393cc
Author: BlindCentaur <[email protected]>
Date: Mon May 31 16:12:24 2021 +0530
WIP : Added index delete and xor based linked list
commit 8fd459a
Author: jar3m <[email protected]>
Date: Sun May 30 15:40:30 2021 +0530
Generic ptr compare added to link list
commit e80c089
Author: jar3m <[email protected]>
Date: Fri May 21 19:19:53 2021 +0530
cosmetics
* Cosmetic changes for Queues to enable Doxygen
* Enabled link list based queue
* Added Doxygen for queues
Co-authored-by: BlindCentaur <[email protected]>
Co-authored-by: jar3m <[email protected]>
commit a334403
Merge: a7e5b0d 8921cbc
Author: jar3m <[email protected]>
Date: Thu Jul 1 23:34:08 2021 +0530
Merge branch 'stacks'
commit 8921cbc
Merge: 071f86a a7e5b0d
Author: jar3m <[email protected]>
Date: Thu Jul 1 23:33:24 2021 +0530
Merge branch 'master' into stacks
commit 071f86a
Author: jar3m <[email protected]>
Date: Thu Jul 1 00:11:53 2021 +0530
Enabled Doxygen
commit 33269f9
Author: jar3m <[email protected]>
Date: Wed Jun 30 23:56:50 2021 +0530
Cosmetics and Merge Master
commit a7e5b0d
Author: Meraj <[email protected]>
Date: Wed Jun 30 23:27:37 2021 +0530
Link List & Common Libs (#15)
* Configuring build for link -list
* Added struct def to linklist
* Commit Logs
- Added backtrace on coredump
- changed declaration of del_mem to free_mem
- added/cleaned up link_list struct and function def
* Create/destroy Link List api'
* Defs.make updated to select tuning params
* moved t_elem datatype to common
* Added get_node and added rule for stacks
* Add end fn (append) defined for SLL,DLL,SCLL,DCLL
* added add_begin functions for SLL,DLL,SCLL,DCLL
* Stack structure definition
* stack source file created
* added full, empty and size fn declartions to stacks
* adding delete functions to link list
* Stack structure definition
* stack source file created
* added full, empty and size fn declartions to stacks
* updated stack structure
* - Cosmetic changes: Added Function headers and comments
- Bug fixed in Add begin tail ptr not being updated
- Tail & Head ptr not set to NULL in after del resulting in empty list causing corruption of data on reusing the list
* COMMIT DETAILS
- Enabled Generic support for link list
- Added generic_def.h/c as helper functions for data type generic lists
- Added Comments
- Test file updated to show link list of diff types such as char, int, float and string
- All link list operations are now data type independent
* Commit Logs
- Fixed bug in delete in SLL
* Moved free fn ptr defn to typedefs.h
* Added generic print for data
* changed generic fn routines
* cosmetics
* Generic ptr compare added to link list
* WIP : Added index delete and xor based linked list
* fixed xor ll delete
* print for XOR LL and fixed compilation issues
* added function ptr for destroy and print in linklist
* rectified del_idx and added tests, WIP: Circular count is incorrect
* moved destroy to end
* Commit Logs
- Added new struct to be passed along create that populates data type spefic fn ptrs required for maintaining data struct
- two different links for just printing the data and the other for getting detailed info of linklist inlcuding count , addresses and links
* Commit Logs
- Added generic fn ptrs
- Defined get head, tail, end, next and prv fn ptrs in ll struct implementation to be done
- defined get and find node struct in ll
- fn names changed and cosmetic changes
* * defined api's for ll head, tail, end, prev and next
* changed destroy and print api's using head, end and next ll routines
* TODO implement the above 2 points for xor link list
* cosmetics funtion headers and indentations
* Added get next and prev for xor ll. works only when iterating from start to end o f list not otherwise
Del node and del i th node in xor ll need to be debugged
* added find function for linked list
* added get ith node function in the linked list
* Cosmetic changes for Doxygen support
- Added function headers
- Added Structure feild descriptions
- Added File headers
- Added Macro and Enums description comments
* Added util api for printing link_list type
* Del node xor list fixed
* cosmetics
* added delete index for xor link list
* Test link list clean up
* Added Link list get data routine
Co-authored-by: BlindCentaur <[email protected]>
commit 6c911e5
Author: jar3m <[email protected]>
Date: Tue Jun 29 22:10:41 2021 +0530
Stack Cleanup & Cosmetics
commit 7320cf3
Author: jar3m <[email protected]>
Date: Tue Jun 29 21:23:18 2021 +0530
Squashed commit of the following:
commit 5cfadc0
Author: BlindCentaur <[email protected]>
Date: Sun Jun 27 20:59:00 2021 +0530
added delete index for xor link list
commit c3f0fa8
Author: jar3m <[email protected]>
Date: Sun Jun 27 19:47:11 2021 +0530
cosmetics
commit db91b61
Author: jar3m <[email protected]>
Date: Sun Jun 27 19:35:55 2021 +0530
Del node xor list fixed
commit 14e1fa6
Author: jar3m <[email protected]>
Date: Sat Jun 26 00:35:56 2021 +0530
Added util api for printing link_list type
commit c8d0022
Author: jar3m <[email protected]>
Date: Fri Jun 25 01:18:01 2021 +0530
Cosmetic changes for Doxygen support
- Added function headers
- Added Structure feild descriptions
- Added File headers
- Added Macro and Enums description comments
commit 0902742
Author: kamalakannan-s <[email protected]>
Date: Thu Jun 24 00:34:30 2021 -0700
added get ith node function in the linked list
commit c3001d0
Author: kamalakannan-s <[email protected]>
Date: Wed Jun 23 23:58:07 2021 -0700
added find function for linked list
commit 0dffa25
Author: jar3m <[email protected]>
Date: Thu Jun 24 01:22:25 2021 +0530
Added get next and prev for xor ll. works only when iterating from start to end o f list not otherwise
Del node and del i th node in xor ll need to be debugged
commit 7360706
Author: jar3m <[email protected]>
Date: Wed Jun 23 01:01:09 2021 +0530
* defined api's for ll head, tail, end, prev and next
* changed destroy and print api's using head, end and next ll routines
* TODO implement the above 2 points for xor link list
* cosmetics funtion headers and indentations
commit 4a0f4f3
Author: jar3m <[email protected]>
Date: Sun Jun 20 23:02:16 2021 +0530
Commit Logs
- Added generic fn ptrs
- Defined get head, tail, end, next and prv fn ptrs in ll struct implementation to be done
- defined get and find node struct in ll
- fn names changed and cosmetic changes
commit 8ebd61f
Author: jar3m <[email protected]>
Date: Sun Jun 20 12:54:47 2021 +0530
Commit Logs
- Added new struct to be passed along create that populates data type spefic fn ptrs required for maintaining data struct
- two different links for just printing the data and the other for getting detailed info of linklist inlcuding count , addresses and links
commit 4519c94
Author: jar3m <[email protected]>
Date: Sat Jun 26 22:36:22 2021 +0530
Changed routine name
commit f3b5339
Author: jar3m <[email protected]>
Date: Sat Jun 26 00:37:41 2021 +0530
cosmetics indentation
commit ee10cdb
Author: jar3m <[email protected]>
Date: Sat Jun 26 00:27:53 2021 +0530
Cosmetic changes for Stacks to enable Doxygen
commit 151df29
Author: BlindCentaur <[email protected]>
Date: Mon Jun 14 23:15:53 2021 +0530
Added functions for Link list based stacks
commit aa327c3
Merge: 640429c 9a3759b
Author: BlindCentaur <[email protected]>
Date: Mon Jun 14 21:48:11 2021 +0530
Merge branch 'link_list' into stacks
commit 9a3759b
Author: jar3m <[email protected]>
Date: Mon Jun 14 21:38:25 2021 +0530
moved destroy to end
commit de18fc1
Author: BlindCentaur <[email protected]>
Date: Sat Jun 12 01:03:29 2021 +0530
rectified del_idx and added tests, WIP: Circular count is incorrect
commit d5adfab
Author: jar3m <[email protected]>
Date: Wed Jun 9 10:48:21 2021 +0530
added function ptr for destroy and print in linklist
commit 12990f5
Author: BlindCentaur <[email protected]>
Date: Tue Jun 8 22:41:14 2021 +0530
print for XOR LL and fixed compilation issues
commit a8da18d
Author: BlindCentaur <[email protected]>
Date: Thu Jun 3 23:55:01 2021 +0530
fixed xor ll delete
commit 5f393cc
Author: BlindCentaur <[email protected]>
Date: Mon May 31 16:12:24 2021 +0530
WIP : Added index delete and xor based linked list
commit 8fd459a
Author: jar3m <[email protected]>
Date: Sun May 30 15:40:30 2021 +0530
Generic ptr compare added to link list
commit e80c089
Author: jar3m <[email protected]>
Date: Fri May 21 19:19:53 2021 +0530
cosmetics
Co-authored-by: Harshadeva P <[email protected]>1 parent f4377ef commit cdbb119
10 files changed
Lines changed: 406 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
| |||
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | | - | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | 36 | | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
24 | 31 | | |
25 | | - | |
26 | 32 | | |
27 | 33 | | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
40 | 50 | | |
41 | 51 | | |
42 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments