2022暑期实习-特斯拉-笔试

公司:特斯拉

岗位:IT应用支持工程师实习生

笔试平台:Codility

考试时长:130分钟

考试题型:两道SQL,一道Python

Task1

You are given two tables, department and employee, with the following structure:

create table department (
 	dept_id integer not null,
 	dept_name varchar(30) not null,
	dept_location varchar(30) not null,
	unique(dept_id)
);

create table enployee (
	emp_id integer not null,
	emp_name varchar(50) not null,
	dept_id integer not null,
	salary integer not null,
	unique(emp_id)
);

Each record in the table department represents a department which might hire some employees. Each record in the table employee represents an employee who works for one of the departments from the table department. The salary of each employee is known. (However, the locations of the departments are not relevant here.)

Write an SQL query that returns a table comprising all the departments (dept_id) in the table department that hire at least one employee, the number of people they employ and the sum of salaries in each department. The table should be ordered by dept_id (in increasing order).

Task2

Codility is a company that creates programming tasks which are solved by candidates. After submitting their solution to a task, each candidate receives a report containing the number of points their solution scored, which is an integer between 0 and 100.

You are given two tables, tasks and reports, with the following structure:

0create table tasks (
	id integer not null,
	name varchar(40) not null,
	unique(id)
);

create table reports(
	id integer not null,
	task_id integer not null,
	candidate varchar(40) not null,
	score integer not null,
	unique(id)
);

Your task is to write an SQL query which assigns a difficulty rating to depends on the average score of all candidates' solutions submitted each task . The difficulty of the task depends on the average sc

剩余60%内容,订阅专栏后可继续查看/也可单篇购买

一个普通数据人的成长之路 文章被收录于专栏

记录实习和校招的笔试面试(标题年份表示笔试或面试的年份)和个人成长,牛友们的点赞、评论、收藏就是更新的动力和支持~

全部评论

相关推荐

已上岸面经分享,附内推码,欢迎投递!面的是大模型算法工程师的校招岗位,总体流程大概40分钟左右。1、首先是做了自我介绍,介绍了自己在之前公司做了些什么,花了3分钟左右。2、然后面试官让我从项目的背景(可能是因为公司性质的原因,比较在乎落地价值)数据收集,模型训练这几方面着重介绍我的实习经历,了解完之后问了我项目中有没有比较难解决的问题,最后问了我后续的优化方向,然后我就和面试官开始讨论,我也收获了不少idea,包括在数据收集中,如何过滤低质量数据,微调过程中数据权重的调整,以及prompt设计的一些方法。整体过程大概20分钟,这一环节印象最深,沟通下来感觉比跟导师汇报还轻松,面试官会很认真倾听我的想法,有些地方卡壳也不会不耐烦,反而让我别着急慢慢想。(现在入职一年了,一面面试官也是我的mt,也算是成为我职业发展的引路人)3、问完之后问了我研究方向相关的一些基础的问题,例如模型结构,预训练的数据和方式,预训练和sft的loss,大概10分钟的时间。4、最后有一道笔试题,让我手撕多头注意力机制,不是做leetcode,感觉和公司性质也比较符合写了几分钟就写出来了。5、最后反问环节,问了一下部门的业务,面试就结束了。最后二三面也是顺利过了,成功上岸~影石的面试是我感觉体验比较好的公司之一,面试的过程比较平等,更像是在讨论(ps:真的不用太紧张)最后也是希望我的经验能帮到各位成功上岸,在影石也是工作一年了,这一年的工作过程里接触的东西也比较多,数据采集,模型训练部署维护什么的都有接触过,成长得也是比较快了,个人感觉在部门里的工作氛围也是比较好的,工作时间是985左右,回家之后个人时间还是比较充裕的,在这里贴个内推码:DZDR3UM ,欢迎大家入职之后来找我玩!有什么问题也可以在这里问,可以帮忙看投递进度
点赞 评论 收藏
分享
评论
2
14
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务