@coolcoder56 Amazon oa question with AI built-in on hackerank:
Movie DB
Fix the movie notification feature. When an admin adds or launches a movie, notify every user following any of its stars. Also fix unread count so it counts only the current user's unread notifications.
@coolcoder56 Environment:
HackerRank-style IDE: VS Code-like editor with Explorer, terminal, AI Assistant. Backend is Java Spring Boot; frontend is React. You can inspect and edit project files directly, run Maven tests, and verify changes in the built-in terminal.
@coolcoder56 Instructions โ AI is available
AI assistant is available in the environment. Use it to inspect the existing code, identify the correct files/methods, make the required changes, and run the predefined tests. Don't rewrite unrelated code or change the test cases.
@coolcoder56 Example: In AdminMovieController, inject NotificationService and call notificationService.notifyFollowers(savedMovie) immediately after https://t.co/v2K8X356Zj(movie) in both add and launch paths.