Senior Python Developer Interview Questions

497 senior python developer interview questions shared by candidates

Given a very long string composed of numbers as characters, find the four character substring that has the largest multiple. For example, given the string "809723", the two char substring with the largest multiple is "97", having a multiple 9*7 = 63.
avatar

Senior Python Developer

Interviewed at Citadel

4
23 Apr 2016

Given a very long string composed of numbers as characters, find the four character substring that has the largest multiple. For example, given the string "809723", the two char substring with the largest multiple is "97", having a multiple 9*7 = 63.

How would you write a program to move inside a square spiral? Start at the upper left corner of the square and walk its edges clockwise. Just before re-approaching the upper left corner, spiral into the square instead, ultimately arriving at the center of the square.
avatar

Senior Python Developer

Interviewed at Citadel

4
23 Apr 2016

How would you write a program to move inside a square spiral? Start at the upper left corner of the square and walk its edges clockwise. Just before re-approaching the upper left corner, spiral into the square instead, ultimately arriving at the center of the square.

There is an assignment to calculate the Sum of Squares. From Stdin, accept N as the number of test case arrays to calculate the Sum of Squares, and N consecutive lines, enter array_1...till array_n, separated by lines. And calculate the Sum of Squares of each of the arrays. Some rules include: - Use only standard libraries - Do not use for loop - Use package main - Print all results after the input has been inserted. i.e. Input: N arr_1 ... arr_n Output: sum_of_squares_arr_1 ... sum_of_squares_arr_n - There should be no empty lines between input and output - There are some other rules but negligible
avatar

Senior Python Developer

Interviewed at HENNGE

4.2
20 Jan 2022

There is an assignment to calculate the Sum of Squares. From Stdin, accept N as the number of test case arrays to calculate the Sum of Squares, and N consecutive lines, enter array_1...till array_n, separated by lines. And calculate the Sum of Squares of each of the arrays. Some rules include: - Use only standard libraries - Do not use for loop - Use package main - Print all results after the input has been inserted. i.e. Input: N arr_1 ... arr_n Output: sum_of_squares_arr_1 ... sum_of_squares_arr_n - There should be no empty lines between input and output - There are some other rules but negligible

Viewing 1 - 10 interview questions

See interview questions for similar jobs

Glassdoor has 497 interview questions and reports from Senior python developer interviews. Prepare for your interview. Get hired. Love your job.