An open API service indexing awesome lists of open source software.

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.

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
```