Community Profile

# Srishti Saha

### Whitefield

Last seen: 2년 이하 전 2018년부터 활동

A data scientist by profession, electronic engineer by education and a coder by the hobby

All

배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

Find number of days
The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

약 4년 전

문제를 풀었습니다

Rotate Matrix Clockwise (45 Degree)
*Matrix (3x3 only) rotation clockwise*: 2 inputs: *x* matrix and *n* times. output: *y* matrix with *n x 45* degree ro...

약 4년 전

문제를 풀었습니다

Determine if given number is perfect
A number is <http://en.wikipedia.org/wiki/Perfect_number perfect> if it is equal to the sum of its factors, excluding itself. ...

약 4년 전

문제를 풀었습니다

Vector Magnitude Calculator
'a' is a vector that starts at the origin and ends at (x, y). Find ||a||. Hint: It is as simple as "ABC".

약 4년 전

문제를 풀었습니다

Half-Swap
Given a vector with an even number of elements, rearrange it so that the elements in its first half are switched with those i...

약 4년 전

문제를 풀었습니다

Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

약 4년 전

문제를 풀었습니다

Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

약 4년 전

문제를 풀었습니다

Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

약 4년 전

문제를 풀었습니다

Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 =...

약 4년 전

문제를 풀었습니다

Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

약 4년 전

문제를 풀었습니다

Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

약 4년 전

문제를 풀었습니다

Sum of digit range
Example: If A is n1, and B is n2 digit positive numbers. A*B's digit range will be [c d] (c = min & d = max). Then return ...

약 4년 전

문제를 풀었습니다

The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...

약 4년 전

문제를 풀었습니다

Coin change combinations.
Using only pennies (1), nickels (5), dimes (10), quarters (25), half dollars (50), and dollars (100), how many different combina...

약 4년 전

문제를 풀었습니다

length of string on cylinder
A cylinder H cm high has a circumference of C cm. A string makes exactly N complete turns round the cylinder while its two ends ...

약 4년 전

문제를 풀었습니다

given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

약 4년 전

문제를 풀었습니다

determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

약 4년 전

문제를 풀었습니다

Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

약 4년 전

문제를 풀었습니다

Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...

약 4년 전

문제를 풀었습니다

angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

약 4년 전

문제를 풀었습니다

Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

약 4년 전

문제를 풀었습니다

Continued fractions
Find a <http://en.wikipedia.org/wiki/Continued_fraction continued fraction> approximation of x.

약 4년 전

문제를 풀었습니다

Sum all integers from 1 to 2^x
Given a number x, your function must return the summation of all integers from 1 to 2^x.

약 4년 전

문제를 풀었습니다

Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

약 4년 전

문제를 풀었습니다

Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

약 4년 전

문제를 풀었습니다

Array GCD
* Find Greatest Common Divisor in a given array * Function Template: function ans = arraygcd(a) % a=[45 15 200 ...

약 4년 전

문제를 풀었습니다

Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

약 4년 전

문제를 풀었습니다

Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

약 4년 전

문제를 풀었습니다

Vertical matrix sort
Given a matrix x with n rows and m columns, return a matrix y with 2n rows and m columns, such that every column in x is sorted ...

약 4년 전

문제를 풀었습니다

Is it an Armstrong number?
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. Fo...

약 4년 전