Here is an article that provides a set of coding puzzles that can be useful in technical interviews in data science.

The article presents a new type of programming challenge, called programming puzzles, as objective and comprehensive assessments of program synthesis, and publishes open source Python programming services (P3).

Each puzzle is defined by the short Python program f, and the goal is to find the input x that makes f True.

Paper: https://bit.ly/3cQcSFj
Ills: https://bit.ly/2THhBCd
Material: https://bit.ly/3zAjLEg

Thanks to Dennis Bakhuis (where I say the paper as a LinkedIn post)

A list of puzzles is below

algebra

• Square root
• All square roots
• Cube root
• All cube roots

basic

• The sum of the numbers
• Floating with a decimal value
• Arithmetic order
• Geometric sequence
• Line intersection
• If the problem
• If the problem and
• If the problem is Or
• If cases
• List of Pos Sum
• List a separate amount
• Concat languages
• Sublistic sum
• Cumulative amount
• Basic information for Str calculation
• ZIP code
• Reverse Cat
• Engineer numbers
• The last string
• Last previous string
• Centralized string

chess

• Eight queens or less
• More Queens
• Knight tour
• An insurmountable path of knights
• UNSOLVED_Uncrossed path of knights

classic_puzzles

• Towers of Hanoi
• The arbitrary towers of Hanoi
• The longest monotonous subset
• The longest monotonous string tricky
• Quine
• Rev Quine
• Boolean Pythagorean triples
• Clock angle
• Kirkman
• Monkey and coconuts
• No Colinearia
• Stamp
• Square square
• Necklace Split
• Pandigital Square
• All Pandigital squares
• Card game
• Easy
• Harder
• Pouring water
• Verbal calculation
• Sliding puzzle

code forces

• It’s flat
• Shorten
• Square tiles
• Easy Twos
• Descending computational comparison
• Vocal drop
• Domino Tile
• Incl. Christmas
• Compare anyway
• Sliding one
• Sort more
• Uppercase Firs tLetter
• The longest string in the subset
• Find a homogeneous subset
• Triplicate
• The complete difference
• Triple room
• Repeat Christmas
• The shortest December delta
• Max Delta
• General case
• Five forces
• Combination lock
• Combination lock blurred
• Reverse permutation
• Same different
• One and two
• Min consecutive sum
• Max consecutive sum
• Max consecutive product
• Separate odd sum
• Min rounds

compression

• LZW
• LZW_purista
• Packing ham

conways_game_of_life

• Oscillators
• Spaceship

games

• Him
• Soul
• Tic Tac Toe X
• Tic Tac Toe O
• Rock Paper Scissors

game theory

• Nash
• ZeroSum

diagrams

• Conway
• Any edge
• Any triangle
• Planted click
• The shortest path
• Unweighted shortest path
• Any path
• Flat path
• Odd path
• Zarankiewicz
• Graph isomorphism

ICPC

• Bi-permutations
• Optimal bridges
• Checkers station

IMO

• The exponential coin moves
• No relative primes
• Find Plays
• Choose near neighbors
• Find a productive list
• Half Tag

trellis

• Learn parity
• Learn parity through noise

number_theory

• Fermats’ last sentence
• GCD
• GCD_multi
• LCM
• LCM_multi
• Small exponent big solution
• Three cubes
• Four squares
• Factoring
• Separate log
• GCD
• I know
• Collatz cycle unresolved
• Collatz generalized unresolved
• Collatz delay
• Lehmer

probability