Weride Software Engineer Interview Questions
Practice the exact questions companies are asking right now.
Explain Java concurrency and fix i++ race
Java 并发编程(基础与陷阱) 1. 简要解释 Java 并发编程中: - 线程(Thread)与任务(Runnable/Callable)的关系 - 可见性、原子性、有序性(Java Memory Model 的三大核心) - volatile、synchronized、Loc...
Implement matrix multiplication and fast exponentiation
实现以下算法题(可用任意语言,默认使用整数运算;如涉及大数可对结果取模): 1) 矩阵乘法 给定两个矩阵: - A 为 n × m - B 为 m × p 计算矩阵乘积 C = A × B(n × p)。 要求: - 写出时间复杂度 - 说明如何处理维度不匹配 - (可选)若给定模数 MOD,输出元...
Explain PhD relevance to software engineering
Behavioral Prompt: PhD to Software Engineering You are interviewing for a Software Engineer role during a technical screen. The interviewer wants to u...
Implement expression expansion to plus-only form
Given a string expression consisting only of lowercase letters (variables), '+', '', '(', and ')', return an equivalent expression that uses only '+' ...
Expand algebraic expression with distribution
Question Given an expression of lowercase letters, '+', '', and parentheses with no '+' outside any parentheses, return an equivalent expression conta...