문제를 풀었습니다


Digits eliminate
Complete the function my_f(n,b) to return, for a given integer, the number obtained by removing the digits '0' and 'b'. If there...

25일 전

문제를 풀었습니다


Merge two integers
We want to merge the digits of two integers having the same number of digits to obtain a new integer whose digits are obtained b...

25일 전

문제를 풀었습니다


Counting the occurrences of a digit in a book
The printer has printed a book with 'p' pages. How many times did they use the character 'd'? In other words, how many times doe...

25일 전

문제를 풀었습니다


Replace with Lower
Given a list of integers, for each element, replace it with the minimum integer found in the sub-list to its strict right (exclu...

25일 전

문제를 풀었습니다


Sun angle
Determine the angle of the sun above the horizon based on the time of day. Assumptions: the sun rises in the East at 6h00, cor...

25일 전

문제를 풀었습니다


Identify full reptend primes

대략 1개월 전

문제를 풀었습니다


Create a dictionary
The goal is to write a function that returns a dictionary from a list of words or phrases and their definitions. Here is an exam...

대략 1개월 전

문제를 풀었습니다


Pairwise Euclidean Distance
Given two matrices A,B of dimensions NxK and NxL respectively, calculate the pairwise euclidean distance of all vectors (columns...

대략 1개월 전

문제를 풀었습니다


Estimating Euler's (Oi-ler-z) Number
Euler's number is an irrational constant given by Starting with x=0, count the number of times you can add a uniformly distrib...

대략 1개월 전

문제를 풀었습니다


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

대략 1개월 전

문제를 풀었습니다


Calculate the probability that at least two people in a group share the same birthday.
Calculate the probability that at least two people in a group share the same birthday. Given an integer input n, return to 0.015...

대략 1개월 전

문제를 풀었습니다


Bullseye Matrix with Zeros
Inspired by Problem 18, create a bullseye matrix with the addition of padding equal to 0 between concentric rings. Matrices are ...

대략 1개월 전

문제를 풀었습니다


nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

대략 1개월 전

문제를 풀었습니다


Determine if a number is a cool number
A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

대략 1개월 전

문제를 풀었습니다


Palindrome String
Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

대략 1개월 전

문제를 풀었습니다


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

대략 1개월 전

문제를 풀었습니다


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

대략 1개월 전

문제를 풀었습니다


Determine pressure altitude using field elevation and altimeter setting
Given an airfield's elevation in feet (ft) and the current altimeter setting in inches of mercury (inHg), calculate the pressure...

대략 1개월 전

문제를 풀었습니다


Calculating distance of lightning based on time delay
If we know the time delay between when we see lightning and hear thunder then we can calculate approximate distance(in meters) o...

대략 1개월 전

문제를 풀었습니다


Draw '5' in Chinese.
Draw a x-by-x matrix '五' using 1s and 0s. Example: x=5 ans= [1 1 1 1 1 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 1 1 1] x=7...

대략 1개월 전

문제를 풀었습니다


Compute the sum of distances from a point to the sides of an equilateral triangle
Write a function to compute the sum of the (shortest) distances from a point inside an equilateral triangle to the sides of the ...

대략 1개월 전

문제를 풀었습니다


Summation of Non Zeros Numbers in String Variable
Find the Summation of Non Zeros Numbers in String Variable The input : x = '100205' The Output : y = 8

대략 1개월 전

문제를 풀었습니다


Remove a specific row with max value
Remove the row that contain the max value in the matrix?

대략 1개월 전

문제를 풀었습니다


Remove a specific row with min value
Remove the row that contain the min value in the matrix?

대략 1개월 전

문제를 풀었습니다


Remove a specific column with max value
Remove the column that contain the max value in the matrix?

대략 1개월 전

문제를 풀었습니다


Characterize the final state of another digit inventory sequence

대략 1개월 전

문제를 풀었습니다


Characterize the final state of the digit inventory sequence

대략 1개월 전

문제를 풀었습니다


Find the nth term in the digit inventory sequence

대략 1개월 전

문제를 풀었습니다


Round up to π

대략 1개월 전

더 보기