Algorithm Optimization for finding shortest path
ChatGPT Prompt
Optimize the following algorithm for finding shortest path. Analyze time and space complexity, identify bottlenecks, and provide an improved implementation with explanation: [PASTE YOUR ALGORITHM HERE]
💡 Pro Tip: Replace placeholders in [BRACKETS] with your specific information for best results.
How to Use This Prompt
- 1Click the copy button above to copy the prompt to your clipboard
- 2Open ChatGPT, Claude, or your preferred AI assistant
- 3Paste the prompt and replace any [PLACEHOLDER TEXT] with your specific details
- 4Review the AI's response and iterate if needed for better results
Related Tags
Related Prompts
Unit Tests for {function}
Write comprehensive unit tests for the following TypeScript function. Include test cases for normal operation, edge cases, error conditions, and boundary values: [PASTE YOUR FUNCTION HERE]
Microservices Architecture Design
Design a microservices architecture for [APPLICATION TYPE]. Include service boundaries, communication patterns, data management, deployment strategy, and monitoring approach.
Tax Optimization Strategy for investor
Develop a tax optimization strategy for a investor. Identify deductions, credits, tax-advantaged accounts, timing strategies, and year-end planning opportunities. Include specific actionable recommendations.
API Design for booking
Design a RESTful API for a booking application. Include endpoint definitions, request/response schemas, authentication methods, error handling, and API documentation structure.
Tax Optimization Strategy for W-2 employee
Develop a tax optimization strategy for a W-2 employee. Identify deductions, credits, tax-advantaged accounts, timing strategies, and year-end planning opportunities. Include specific actionable recommendations.
Database Schema for e-commerce
Create a normalized database schema for a e-commerce system. Include tables, relationships, indexes, constraints, and sample queries for common operations.