Anh có thể chia sẻ em vài best practise kinh nghiệm của anh trong việc code tối ưu hiệu năng hơn được không ạ. Em thấy code chạy được nhưng sếp feedback chạy lâu quá
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Chắc em phải nêu bài toán cụ thể bài toán em đang gặp anh mới trả lời đc em ạ
Mình nghĩ bạn nên đọc về độ phức tạp thuật toán. Để code chạy nhanh thì mình đi tối ưu time complexity. Để tối ưu time complexity chắc phải đọc thêm về cấu trúc dữ liệu và giải thuật.