Spaces:
Runtime error
Runtime error
Update app.py
Browse files22 unmodified lines23242526272829262728293031323322 unmodified lines# ---- Simple way to assign questions to interview types ----# You can replace this later with better taggingquestions_by_type = { 'Technical': [q for q in all_questions if any(keyword.lower() in q['question'].lower() for keyword in [ "Algorithms","System Design","SQL (Group By, Joins)", "REST vs GraphQL","Garbage Collection","CAP Theorem", "Security (SQL injection, XSS, Hashing)","Caching","Load Balancing"])], 'Technical': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in [ 'function', 'linked list', 'url', 'rest', 'graphql', 'garbage', 'cap theorem', 'sql', 'hash table', 'stack', 'queue', 'recursion', 'reverse', 'bfs', 'dfs', 'time complexity', 'binary search tree', 'web application', 'chat system', 'load balancing', 'caching', 'normalization', 'acid', 'indexing', 'sql injection', 'https', 'xss', 'hash', 'vulnerabilities'])], 'Competency-Based Interview': [q for q in all_questions if any(keyword in q['question'].lower() for keyword in [ "Debugging",app.py+5-4