This repository includes a collection of projects and assignments covering various topics such as LeetCode problems, computer network assignments, a BitTorrent client, Wireshark analysis, a detailed explanation of the process when typing "www.google.com" into a browser, and Packet Tracer exercises.
- Understanding LeetCode Problems
- Computer Network Assignments
- BitTorrent Client
- Wireshark Analysis
- What Happens When You Type www.google.com
- Packet Tracer Exercises
- Running the Projects Locally
This problem involves finding the minimum time for a signal to travel through a network of nodes and edges using Dijkstra's algorithm.
Given a network of n
nodes linked by directed edges, where each edge represents a connection with a specific travel time. You are also given a source node k
. The problem asks to find the minimum time it takes for a signal sent from k
to reach all other nodes in the network. If it's impossible for all nodes to receive the signal, the output is -1.
Find the cheapest price for a flight from a source city to a destination city with at most K stops. If there is no such route, output -1.
Given a graph representing cities and distances between them, find the city with the smallest number of neighbors within a given distance threshold.
Refer to the document Understanding LeetCode Problems for detailed explanations and code.
Refer to the document Computer Network Assignments for detailed explanations and configurations.
Exercises using Cisco Packet Tracer to simulate and analyze network behavior, configurations, and protocols.
Refer to the document Computer Network Assignments for detailed explanations and configurations.
A project to build a BitTorrent client using Python. The client allows downloading and uploading files using the BitTorrent protocol.
Refer to the document BitTorrent Client for detailed explanations and code.
Using Wireshark to capture and analyze network packets to understand the behavior of network protocols and identify issues.
Refer to the document Wireshark Analysis for detailed explanations and analysis results.
What Happens When You Type www.google.com
A detailed step-by-step explanation of what happens when you type "www.google.com" into a browser, including DNS resolution, TCP/IP stack operations, and HTTP request/response cycle.
Refer to the document What Happens When You Type www.google.com for a comprehensive explanation.
Exercises using Cisco Packet Tracer to simulate network scenarios, including configuration of routers, switches, and other network devices, and analysis of network protocols.
Refer to the document Packet Tracer Exercises for detailed configurations and analysis.
Ensure you have the following software installed on your machine:
- Python (version 3.6 or higher)
- Git
- Wireshark (for packet analysis)
- Cisco Packet Tracer (for network simulations)
git clone https://github.com/Aasthapaudel/Computer-Network-assignment.git
cd Computer-Network-assignment
-
Navigate to the BitTorrent client directory:
cd Bittorrent_client
-
Run the client:
python downloadTorrent.py
Contributions are welcome! Please read the CONTRIBUTING.md for guidelines on how to contribute to this repository.