СБЕР interview
Questions8
Tell me about yourself: what have you worked on, and what was interesting about your experience?
Given an integer array `nums` sorted in non-decreasing order, return an array of the squares of each number, also sorted in non-decreasing order. Example 1: Input: nums = [-4,-1,0,3,10] Output: [0,1,9,16,100] Explanation: After squaring, the array becomes [16,1,0,9,100]. After sorting, it becomes [0,1,9,16,100]. Example 2: Input: nums = [-7,-3,2,3,11] Output: [4,9,9,49,121] Constraints: - 1 <= nums.length <= [phone] <= nums[i] <= 104 - `nums` is sorted in non-decreasing order.
In the RAG pipeline for GigaChat, a long document is first tokenized and then split into chunks of a fixed length. There are 5 standard chunk sizes available: 1, 3, 6, 10, and 15 tokens. What is the minimum number of chunks into which a document of n tokens can be split? ```python def min_context_chunks(n_tokens: int) -> int: ```
5 more questions from this interview
A subscription opens every question, and Copilot suggests answers live during your СБЕР interview.
Sign in to unlockSummarized questions based on candidates' accounts. These materials do not represent the official position of the companies and do not disclose internal processes. If you believe a publication violates your rights — contact us.