Dyuman Joshi
9
9
Rank70
70
Badges46061
46061
Score
Dyuman Joshi submitted Solution 14300183 to Problem 59806. Replace with Lower on 8 Sep 2024 |
Dyuman Joshi submitted Solution 14300182 to Problem 59806. Replace with Lower on 8 Sep 2024 |
Dyuman Joshi submitted a Comment to Problem 60735. Delete some elements in the natural set and find the sum of the first n terms The problem statement you have posted is not clear nor is there a test suite to work through/with.
I suggest you to update your question accordingly within 1 week.
Otherwise it will be deleted.
on 8 Sep 2024 |
Dyuman Joshi submitted Solution 14300152 to Problem 60191. Reverse Integer on 8 Sep 2024 |
Dyuman Joshi submitted Solution 14300141 to Problem 59771. Leader on 8 Sep 2024 |
Dyuman Joshi submitted Solution 14300086 to Problem 60166. Recursive triangle area on 8 Sep 2024 |
Dyuman Joshi submitted Solution 14299468 to Problem 59811. Sort by absolute value on 6 Sep 2024 |
Dyuman Joshi submitted Solution 14299465 to Problem 60216. Perfect shuffle on 6 Sep 2024 |
Dyuman Joshi submitted Solution 14299462 to Problem 60216. Perfect shuffle on 6 Sep 2024 |
Dyuman Joshi submitted Solution 14299453 to Problem 60237. Finding the Most Frequent Letter in a Text on 6 Sep 2024 |
Dyuman Joshi submitted Solution 14299427 to Problem 60431. Calculating the Union Area of Overlapping Rectangles on 6 Sep 2024 |
Dyuman Joshi submitted Solution 14299423 to Problem 60476. Remove Adjacent Pairs on 6 Sep 2024 |
Dyuman Joshi submitted a Comment to Solution 14298580 Though this function is considered slower for larger matrices, but since we are only dealing with vectors here, I assume it is good. Though I will run some tests to see how good it actually is.
Of course, the best function to employ here is the one that just changes the header/flag of the array and not the data stored in the array.
Though I was unable to find how to utilize it here.
And I wonder how the Leading solution will fare against vectors with a big number of elements.
on 5 Sep 2024 |
Dyuman Joshi submitted a Comment to Solution 14296098 Note that using (:) is comparative slower - Here's an excellent thread dissecting why that is the case :-
https://in.mathworks.com/matlabcentral/answers/887219-why-is-x-so-much-slower-than-reshape-x-n-1-with-complex-arrays?s_tid=srchtitle
on 5 Sep 2024 |
Dyuman Joshi submitted Solution 14298580 to Problem 60736. Conditional transpose II on 5 Sep 2024 |
Dyuman Joshi submitted Solution 14297751 to Problem 60734. Conditional transpose on 5 Sep 2024 |
Dyuman Joshi submitted a Comment to Problem 60734. Conditional transpose Christian, I would suggest you to update the check for if condition statement to 'if ' (i.e. with a space at the end), as there are functions containing the string 'if' , which are allowed, but fail with the current anti-cheat test suite.
Same for problem #60736. Conditional transpose II.
on 4 Sep 2024 |
Dyuman Joshi submitted a Comment to Solution 14039226 @Eric, thanks for highlighting. This solution will be deleted soon.
If you see other such hacks, kindly flag the solution - Moderators and Cody team will take care of them.
on 4 Sep 2024 |
Dyuman Joshi submitted a Comment to Problem 6. Select every other element of a vector @Muhammad, take a deeper look at what the test cases are testing for.
on 29 Aug 2024 |
Dyuman Joshi submitted a Comment to Problem 563. How to add? @赵思铭, Cody only supports basic MATLAB. It does not support any Toolboxes. Thus, you can't use 'sym' which is a part of the Symbolic Math Toolbox.
This is officially mentioned in the "Notes" section on this page - https://in.mathworks.com/matlabcentral/content/cody/about.html
on 28 Aug 2024 |
Dyuman Joshi submitted a Comment to Solution 9680588 I have changed my mind, arrayfun() and other similar functions are not allowed.
@Tim, you might want to solve the problem again.
on 26 Aug 2024 |
Dyuman Joshi submitted Solution 14291563 to Problem 60704. Convert RGB to Grayscale on 26 Aug 2024 |
Dyuman Joshi submitted Solution 14290207 to Problem 60732. Wheatstone bridge on 24 Aug 2024 |
Dyuman Joshi submitted a Comment to Problem 60729. Organic Chemistry A problem that requires hard-coded solution along with a limited test suite is not a good problem IMO.
on 24 Aug 2024 |
Dyuman Joshi submitted Solution 14289849 to Problem 60727. Remove the diagonal of a square matrix on 23 Aug 2024 |
Dyuman Joshi submitted Solution 14268429 to Problem 319. Biggest Value in the (Neighbor)Hood on 11 Aug 2024 |
Dyuman Joshi received Community Group Solver badge for Programování - Cody on 10 Aug 2024 |
Dyuman Joshi submitted a Comment to Solution 122564 Making a sophisticated test suite for such case(s) seems to be an interesting challenge!
on 10 Aug 2024 |
Dyuman Joshi submitted a Comment to Solution 8822735 Test suite has been updated and this solutions has been rescored.
Also link to the wikipedia article has been fixed.
on 4 Aug 2024 |
Dyuman Joshi submitted Solution 14160366 to Problem 60256. Final Stone Weight on 22 Jul 2024 |
Dyuman Joshi submitted Solution 14160171 to Problem 59746. Determine if a Digit is Isolated on 22 Jul 2024 |
Dyuman Joshi submitted a Comment to Solution 14136782 More of a pen and paper approach.
on 18 Jul 2024 |
Dyuman Joshi submitted Solution 14136782 to Problem 59786. Missing Number (arithmetic progression) on 16 Jul 2024 |
Dyuman Joshi received Indexing I Master badge on 16 Jul 2024 |
Dyuman Joshi submitted Solution 14136088 to Problem 885. Create logical matrix with a specific row and column sums on 16 Jul 2024 |
Dyuman Joshi submitted Solution 14135978 to Problem 795. Joining Ranges on 16 Jul 2024 |
Dyuman Joshi submitted Solution 14135963 to Problem 795. Joining Ranges on 16 Jul 2024 |
|
Dyuman Joshi submitted Solution 14099886 to Problem 60576. Perimeter of a Koch snowflake on 7 Jul 2024 |
Dyuman Joshi submitted Solution 14093386 to Problem 60181. Integer Persistence, Product on 4 Jul 2024 |
Dyuman Joshi submitted a Comment to Solution 4313625 @Eshita, this is a hack used to hide the actual code behind regexp(), and solve the questions with a fixed size (as per cody testing norms).
regexp() hacks are not allowed in cody. Please flag any solution that uses it, so that mods can clean it up.
on 4 Jul 2024 |
Dyuman Joshi submitted a Comment to Solution 4313625 13 flags, alright.
Test suite has been modified and solution has been rescored.
on 4 Jul 2024 |
Dyuman Joshi submitted Solution 14082511 to Problem 60566. Given a Polyshape_01 (ps) Return its Perimeter, Area, and Centroid. on 2 Jul 2024 |
Dyuman Joshi submitted a Comment to Solution 552049 Test suite updated, solution rescored and flags addressed.
on 30 Jun 2024 |
Dyuman Joshi submitted a Comment to Solution 9875383 13 Flags! Wow
(The solution has been rescored)
on 28 Jun 2024 |
Dyuman Joshi submitted Solution 14031436 to Problem 60221. Battery Charge Indicator on 26 Jun 2024 |
Dyuman Joshi submitted Solution 14031201 to Problem 60266. Stern-Brocot Sequence on 26 Jun 2024 |
Dyuman Joshi submitted a Comment to Problem 59776. Extract Increasing Integers from Digit String Similar to #55325 - https://in.mathworks.com/matlabcentral/cody/problems/55325
on 26 Jun 2024 |
Dyuman Joshi submitted a Comment to Problem 1089. Create a random vector of integers with given sum @Sunil, there is no constraint on the length of the vector. It can be anything, as long it satisfies the conditions specified in the problem description and the test suite.
on 25 Jun 2024 |
Dyuman Joshi submitted Solution 14023861 to Problem 60266. Stern-Brocot Sequence on 24 Jun 2024 |