What will be important to you when choosing a new workplace?
Golang
How can strings be efficiently concatenated in Go? What options are available?
Tell me about SQL injections
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.
Do you consider yourself a middle or senior position?
What is an inode in Linux?
What is XSS (Cross-Site Scripting) and how to combat it?
Have you had experience optimizing queries in relational databases?
How to understand which bucket to put a new element in?
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
What test cases will you use for this algorithm?
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})) }
Why are indexes not created on all columns and their combinations?
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?
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.
What components are in the Kubernetes architecture?
Where is UDP best applied?
How do atomic operations work?
How does a hash table work?