-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprompts.json
7 lines (7 loc) · 928 Bytes
/
prompts.json
1
2
3
4
5
6
7
{
"check_is_valid_code": "Check if the following code is valid code written by any popular programming language. You need to return just `True` or `False` without any text and signs. Here is the code:\n\n{}",
"complexity_options": "O(1), O(2^n), O(n^3), O(n), O(n^2), O(n log n), O(log n), O(n!)",
"get_time_complexity": "Analyze the time complexity of the following code. You need to return the Big O notation without any text and signs. OUTPUT ONLY 1 choice from Options: {}! Here is the code:\n\n{}",
"get_memory_complexity": "Analyze the space complexity of the following code. You need to return the Big O notation without any text and signs. OUTPUT ONLY 1 choice from Options: {}! Here is the code:\n\n{}",
"get_description": "Write a short description why the following code has time complexity of {} and memory complexity of {}. Write in plain text format without markdown! Here is the code:\n\n{}"
}