https://github.com/aditya-ranjan1234/c-lab-programs
Collection of 3rd-semester C lab programs covering data structures and algorithms.
https://github.com/aditya-ranjan1234/c-lab-programs
c-programming
Last synced: 3 months ago
JSON representation
Collection of 3rd-semester C lab programs covering data structures and algorithms.
- Host: GitHub
- URL: https://github.com/aditya-ranjan1234/c-lab-programs
- Owner: Aditya-Ranjan1234
- License: gpl-3.0
- Created: 2025-03-04T13:17:17.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-04T13:26:31.000Z (7 months ago)
- Last Synced: 2025-03-26T21:35:52.192Z (7 months ago)
- Topics: c-programming
- Language: C
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3rd Semester C Lab Programs
## Description
This repository contains C programs implemented as part of the 3rd-semester lab, covering various data structures and algorithms.## Programs Included
- **binarytree.c** - Implementation of binary tree operations.
- **bst.c** - Binary Search Tree (BST) operations.
- **djikstra.c** - Dijkstra's shortest path algorithm.
- **heapify.c** - Heapify function for heap operations.
- **poly.c** - Polynomial operations using linked lists.
- **queue_req.c** - Queue implementation using arrays.
- **rabinkarp.c** - Rabin-Karp string searching algorithm.
- **stack.c** - Stack implementation using arrays.
- **texteditor.c** - Basic text editor functionality.## How to Run
1. Clone the repository:
```sh
git clone https://github.com/Aditya-Ranjan1234/3rd-sem-C-lab.git
```
2. Navigate to the directory:
```sh
cd 3rd-sem-C-lab
```
3. Compile any program using GCC:
```sh
gcc filename.c -o filename
```
4. Run the executable:
```sh
./filename
```