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.
Senior Python Developer Interview Questions
497 senior python developer interview questions shared by candidates
For the years 1901 to 2000, count the total number of Sundays that fell on the first of a month.
Write a function to return the nth fibonacci number. The first two can be assumed to be 1 and 1. The third and fourth are then calculated to be 2 and 3.
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.
which command in git can be used to return the shortest SHA1 hash
Show the total amount of male patients and the total amount of female patients in the patients table. Display the two results in the same row.
How did the process go?
Write fibonacci sequence functions using generator and recursion.
One question asked in VUE JS, Later they told we will update
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