SY_50_WomenSafety#81
Open
janhavipatki04 wants to merge 7 commits into
Open
Conversation
Problem Statement: Implementing Shesheild, a safety system that detects threats, provides the shortest path to safe zones, enables discreet emergency alerts, and safeguards users from online harassment through real-time monitoring and warnings. 1. Emergency Alert System Function: Sends discreet emergency messages and continuously shares the user’s location with listed emergency contacts. Data Structures Used: 1. List: Stores emergency contacts for iteration during message dispatch. 2. Timer/Loop Control: Handles repetitive location sharing at fixed intervals. 2. Online Harassment Detector Function: Detects abusive content in messages and offers the recipient options to report, block, or restrict the sender. Data Structures Used: 1. Set: Maintains a list of offensive words for fast lookups. 2. Dictionary: Tracks the number of reports per user. 3. Set: Stores blocked users for quick access and verification. 3. Safe Zone Navigator Function: Guides a user to the nearest safe zone (e.g., police station or hospital) using shortest path algorithms. Data Structures Used: 1. Graph (Adjacency List): Models the map with locations and paths. 2. Priority Queue: Used in Dijkstra’s Algorithm to compute shortest paths. 3. List/Array: Tracks distances and previous nodes for path reconstruction.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Team members : 1. Janhavi Patki
2. Shruti Shinde