Sobes.tech

What will be important to you when choosing a new workplace?

Senior
190

How can strings be efficiently concatenated in Go? What options are available?

Senior
189

Tell me about SQL injections

Middle
189

Write a function that checks whether a string is a palindrome. - A palindrome is a sequence of characters that reads the same forwards and backwards. - Only alphabetic characters a-zA-Zа-А-я should be checked, case-sensitive should not be considered.

Middle
189

Do you consider yourself a middle or senior position?

Middle+
188

What is an inode in Linux?

Senior
188

What is XSS (Cross-Site Scripting) and how to combat it?

Middle
187

Have you had experience optimizing queries in relational databases?

Middle
187

What synchronization primitives are available in Go?

186

How to understand which bucket to put a new element in?

Middle
185

Write a function that checks whether a string is a palindrome. A palindrome is a sequence of characters that reads the same in both directions. Check only alphabetic characters a-zA-Za-яА-Я, ignore case. Input: "isPalindrome" Output: false <p> Input: "А роза упала на лапу Азора" Output: true <p> Input: "Is_s_d_+_ssi" Output: true

Middle
184

What test cases will you use for this algorithm?

Middle
184

import "fmt" func maxDistants(arr []int)int{ maxDist := 0 lastOne := -1 for i:= 0; i < len(arr); i++{ if arr[i] == 1 { if lastOne == -1 { maxDist = i } else { dist := (i - lastOne)/2 if dist > maxDist { maxDist = dist } } lastOne = i } } if arr[len(arr)-1] == 0 { dist := len(arr) - 1 - lastOne if dist > maxDist { maxDist = dist } } return maxDist } func main() { fmt.Println(maxDistants([]int{1, 0, 0, 0, 1})) }

Middle
183

Why are indexes not created on all columns and their combinations?

Middle
183

Imagine you have a huge database (billions of users in a social network) and need to find a user by ID, but the query is slow. What would you do first?

Middle
183

Write a function that checks whether a string is a palindrome. A palindrome is a sequence of characters that reads the same forwards and backwards. Check only alphabetic characters a-я, А-Я, case-sensitive not considered.

Middle
183

What components are in the Kubernetes architecture?

Senior
182

Where is UDP best applied?

Middle
181

How do atomic operations work?

Middle
181

How does a hash table work?

Middle
181
/12