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...
7 days 前
已解决
Starburst Mandala
Create a mandala starburst using diagonal and orthogonal symmetry in a matrix.
7 days 前
已解决
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; ...
7 days 前
已解决
Circular Ring Approximation Mandala
Generate a matrix that approximates a circular ring using distance-based thresholding , a visually rich mandala-inspired challen...
7 days 前
已解决
Vertical Mirror Mandala
Create a symmetric left-right mirrored pattern in an N×N matrix to emulate mandala reflection symmetry. e.g. N = 5; ...
7 days 前
已解决
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;...
7 days 前
已解决
Hollow Diamond Pattern
Create an N×N matrix that forms a hollow diamond shape using 1s, leaving the interior empty. This challenge emphasizes boundary ...
7 days 前
已解决
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...
7 days 前
已解决
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...
9 days 前
已解决
Sum of even digits
Given a positive integer n, return the sum of all even digits in the number.
9 days 前
已解决
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.
9 days 前
已解决
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.
12 days 前
问题
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 ....
13 days 前 | 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...
14 days 前
问题
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...
20 days 前 | 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...
20 days 前
已解决
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,...
21 days 前
已解决
Velocity at Bottom Using Energy Conservation
A steel ball rolls down a precision ramp in a lab at CERN.
24 days 前
已解决
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 ...
24 days 前
已解决
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 ...
24 days 前
已解决
Acceleration of Block Relative to Ground
Researchers at Indian Space Research Organisation test cargo motion inside accelerating spacecraft ramps. Find acceleration.
24 days 前
已解决
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...
24 days 前
已解决
[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...
24 days 前
已解决
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...
24 days 前
已解决
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...
24 days 前
已解决
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 ...
24 days 前
已解决
[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 ...
28 days 前
已解决
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...
28 days 前
已解决
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...
1 month 前
已解决
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...
1 month 前











