File size: 3,741 Bytes
3165477
 
de9fbbf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1776c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3165477
 
 
de9fbbf
1b279d5
 
9b71b82
d1776c8
04c9587
1b279d5
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
interview_types = ["coding", "ml_design", "ml_theory", "system_design", "math", "sql", "custom"]

topic_lists = {
    "coding": [
        "Arrays",
        "Strings",
        "Linked Lists",
        "Hash Tables",
        "Dynamic Programming",
        "Trees",
        "Graphs",
        "Sorting Algorithms",
        "Binary Search",
        "Recursion",
        "Greedy Algorithms",
        "Stack",
        "Queue",
        "Heaps",
        "Depth-First Search (DFS)",
        "Breadth-First Search (BFS)",
        "Backtracking",
        "Bit Manipulation",
        "Binary Search Trees",
        "Tries",
    ],
    "system_design": [
        "Machine Learning Systems",
        "Databases",
        "Mobile Application Architecture",
        "Web Services and APIs",
        "Cloud Computing and Storage",
        "Network Architecture and Protocols",
        "Security and Compliance",
        "Distributed Systems",
        "Real-time and Batch Processing",
        "Content Delivery Networks",
    ],
    "ml_design": [
        "Computer Vision",
        "Natural Language Processing",
        "Recommendation Engines",
        "Predictive Maintenance",
        "Fraud Detection",
        "Autonomous Driving",
        "Retail Analytics",
        "Speech Recognition",
        "Customer Segmentation",
        "Real-Time Bidding",
        "Supply Chain Optimization",
        "Video Analysis",
        "Personalized Advertising",
    ],
    "math": [
        "Probability Theory",
        "Statistical Distributions",
        "Hypothesis Testing",
        "Linear Algebra",
        "Calculus",
        "Discrete Mathematics",
        "Optimization Techniques",
        "Bayesian Statistics",
        "Regression Analysis",
        "Combinatorics",
        "Graph Theory",
        "Game Theory",
        "Numerical Methods",
        "Logic Puzzles",
        "Complexity Theory",
        "Fourier Analysis",
    ],
    "sql": [
        "Basic SQL Queries",
        "Complex Joins",
        "Subqueries",
        "Aggregation and Grouping",
        "Window Functions",
        "Indexing and Performance Tuning",
        "SQL Functions",
        "Stored Procedures",
        "Trigger and Events",
        "Database Design",
        "Normalization",
        "Concurrency Control",
        "Transaction Management",
        "Backup and Recovery",
        "Security in SQL",
        "Data Import/Export",
        "NoSQL vs SQL",
        "Data Warehousing",
        "SQL in Big Data Analytics",
    ],
    "ml_theory": [
        "Supervised Learning",
        "Unsupervised Learning",
        "Reinforcement Learning",
        "Deep Learning",
        "Feature Engineering",
        "Model Evaluation Metrics",
        "Bias-Variance Tradeoff",
        "Ensemble Methods",
        "Neural Networks Architecture",
        "Convolutional Neural Networks",
        "Recurrent Neural Networks",
        "Dimensionality Reduction",
        "Large Language Models",
        "Transformers",
        "Diffusion Models",
        "Clustering Algorithms",
        "Gradient Descent",
        "Regularization Techniques",
        "Loss Functions",
        "Optimization Algorithms",
        "Generative Adversarial Networks",
        "Transfer Learning",
        "Explainable AI",
    ],
    "custom": [
        "Specify any topic",
    ],
}

fixed_messages = {
    "intro": "Nice to meet you! I'm your AI interviewer. Click 'Generate a problem' to start.",
    "start": "Nice to meet you! I'm your AI interviewer. Read the problem statement, share your initial thoughts or ask questions using the record button.",
    "end": "The interview is complete. Thank you! Feedback will follow shortly.",
    "error": "An error occurred. Please try again.",
}