Feeds
문제를 풀었습니다
Spiral Mandala
Generate a clockwise spiral pattern using 1s in an N×N matrix to create an intricate mandala effect. e.g. N = 5; y_correct...
1일 전
문제를 풀었습니다
Starburst Mandala
Create a mandala starburst using diagonal and orthogonal symmetry in a matrix.
1일 전
문제를 풀었습니다
Hourglass Mandala
Generate an hourglass shape using matrix geometry and symmetry. e.g. N = 5; 1 1 1 1 1; 0 1 1 1 0; ...
1일 전
문제를 풀었습니다
Circular Ring Approximation Mandala
Generate a matrix that approximates a circular ring using distance-based thresholding , a visually rich mandala-inspired challen...
1일 전
문제를 풀었습니다
Vertical Mirror Mandala
Create a symmetric left-right mirrored pattern in an N×N matrix to emulate mandala reflection symmetry. e.g. N = 5; ...
1일 전
문제를 풀었습니다
Concentric Squares Mandala
Generate concentric square rings of alternating 1s and 0s to form a layered mandala-style matrix. e.g. N = 5; 1 1 1 1 1;...
1일 전
문제를 풀었습니다
Hollow Diamond Pattern
Create an N×N matrix that forms a hollow diamond shape using 1s, leaving the interior empty. This challenge emphasizes boundary ...
1일 전
문제를 풀었습니다
Filled Diamond Pattern
Create an N×N binary matrix that forms a filled diamond shape centered in the matrix. The diamond expands symmetrically toward t...
1일 전
문제를 풀었습니다
Number of vowels in string
Write a function that counts how many vowels appear in a given string. Vowels are: a e i o u The function should be case‑insen...
3일 전
문제를 풀었습니다
Sum of even digits
Given a positive integer n, return the sum of all even digits in the number.
3일 전
문제를 풀었습니다
Difference of product and sum
Given a positive integer n, compute the difference between the product of its digits and the sum of its digits.
3일 전
문제를 풀었습니다
Return the product of all elements of a vector or matrix without using built-in functions
Compute the product of all elements of the input array without using the built-in functions prod, ans, or size.
7일 전
문제
Find the nearest admirable number
Cody Problems 1012 and 2544 ask us to determine whether a number is perfect—that is, whether the sum of divisors is equal to ....
8일 전 | 0 | 솔버 수: 5
문제를 풀었습니다
Turn year differences into "s score and y years ago"
President Lincoln opened his now-legendary Gettysburg Address with the famous words "Four score and seven years ago...". Given t...
9일 전
문제
Play Oware with the digits of a number
Oware is a pit and pebble game that consists of two sets of pits or houses filled with pebbles or seeds. During a turn, a player...
15일 전 | 0 | 솔버 수: 7
문제를 풀었습니다
Compute the Euclidean Distance Between Two N-Dimensional Vectors
Write a function that computes the Euclidean distance between two N-dimensional vectors. Given two input vectors x and z of equ...
15일 전
문제를 풀었습니다
Sum all elements of a vector or matrix without using some built in functions
Write a function that computes the sum of all elements of the input array v without using the following built-in function: sum,...
15일 전
문제를 풀었습니다
Velocity at Bottom Using Energy Conservation
A steel ball rolls down a precision ramp in a lab at CERN.
18일 전
문제를 풀었습니다
Acceleration in a Symmetric Double-Pulley Constraint System
Engineers at Indian Institute of Technology Kanpur are designing a precision counterweight system for high-speed elevators. The ...
18일 전
문제를 풀었습니다
Motion of a Bead Sliding on a Rotating Rod (Non-Inertial Frame Dynamics)
Scientists at Indian Space Research Organisation are testing artificial gravity inside a rotating space station module. Inside ...
18일 전
문제를 풀었습니다
Acceleration of Block Relative to Ground
Researchers at Indian Space Research Organisation test cargo motion inside accelerating spacecraft ramps. Find acceleration.
18일 전
문제를 풀었습니다
Tension in String for Circular Motion (Advanced Rotational Dynamics)
At the astronaut training facility of Indian Space Research Organisation, astronauts are trained using a rotating centrifuge. Th...
18일 전
문제를 풀었습니다
[Master Regular Expression] Strong Password Checker II
A password is said to be strong if it satisfies all the following criteria: It has at least 8 characters. It contains at l...
18일 전
문제를 풀었습니다
Determine Matrix Dimensions Without Using some built-in MATLAB functions, version 2
Write a function that takes a 2D matrix/1D vector x as input and returns a row vector containing the number of rows and the numb...
18일 전
문제를 풀었습니다
Determine Matrix Dimensions Without Using some built-in MATLAB functions
Write a function that takes a 2D matrix/1D vector x as input and returns a row vector containing the number of rows and the numb...
18일 전
문제를 풀었습니다
Sum all elements of a vector or matrix without using sum()
Write a function that computes the sum of all elements of the input array v without using the built-in sum function. The input ...
19일 전
문제를 풀었습니다
[Master Regular Expression] Vowel-Consonant Score
You are given a string s consisting of lowercase English letters, spaces, and digits. Let v be the number of vowels in s and c ...
23일 전
문제를 풀었습니다
Determine Matrix Dimensions Without Using size or length
Write a function that takes a matrix A as input and returns a row vector containing the number of rows and the number of columns...
23일 전
문제를 풀었습니다
Diagonal Cross Mandala
Generate an N×N matrix with diagonals highlighted to form an artistic X-shaped mandala pattern. e.g. N = 5; 1 0 0...
28일 전
문제를 풀었습니다
Is it Possible? ( Easy )
In the first part of series, we simplify the problem. Given two jugs with capacities A and B, and a target amount T, determine i...
29일 전











