Databricks Intern OA & CodeSignal Experience 2026|Questions, Difficulty, and Prep Guide

1,408 Views
No Comment

Databricks is almost unknown in the programmer world. It is headquartered in San Francisco and aims to help companies manage data and improve performance through big data + machine learning technology. The famous open source big data processing tool Spark is the company's star product. Databricks OA is completed on the Codesignal platform, with a total of 4 questions in 70 minutes. The entire process is video-monitored and there is no language limit. Time is still quite tight.

Databrick Intern OA 1 (Difficulty Easy)

The question requires us to give an integer n and use this integer to create a square of size n. The sides of the square should be * It consists of characters, and the inside of the square is composed of spaces.

We need to construct an N × N matrix, the bounds of the square are * Characters, and there are spaces inside the squares.

The Python code and explanation are given below:

Databrick Intern OA 1 Code

Illustrate:In code Create_square_frame The function first checks whether n is legal, and then uses * Construct the upper and lower boundaries, and the two sides of the middle row are *, filled with spaces in between. The overall time complexity is O(n).

Databrick Intern OA 2 (Difficulty Easy)

Given a size of N × M matrix. Define a "bouncing diagonal" as: start from the leftmost cell, move along the diagonal (up-right), and when it encounters the upper and lower boundaries of the matrix, bounce back vertically to continue. For each cell on the leftmost side, calculate the sum of the elements on the bouncing diagonal as weights.

The Python code and explanation are given below:

Databrick Intern OA 2 Code

Calculate the weights:For row i in the left column, traverse along the bounce diagonal and accumulate all elements to obtain the weights.
Sort:Form a tuple (weight, value) of each element and its weight, sort by weight in ascending order; if the weights are the same, then by value in ascending order, and finally return the sorted array of values in the left column.

Overall, the first two Databrick OA questions are not too difficult, and you can quickly write your thoughts by reading the question stems carefully.

Contact Us

After our powerfulInterview assistance, OA ghostwriters, Candidates have demonstrated not only programming skills but also clear thinking and effective communication skills by parsing and communicating on these topics. These experiences are not only applicable to Databricks interviews, but also enhance the ability to solve actual programming problems. I wish you all good luck in your interviews!

author avatar
Alex Ma Staff Software Engineer
Currently working at Google, with more than 10 years of development experience, currently serving as Senior Solution Architect. He has a bachelor's degree in computer science from Peking University and is good at various algorithms, Java, C++ and other programming languages. While in school, he participated in many competitions such as ACM and Tianchi Big Data, and owned a number of top papers and patents.
END
 0
Comment(No Comment)