Murat Yildirim
38863
38863
Rank2
2
Badges100
100
Score
Murat Yildirim submitted Solution 7909085 to Problem 36. Find relatively common elements in matrix rows on 13 Apr 2022 |
Murat Yildirim submitted Solution 7907155 to Problem 91. Get the area codes from a list of phone numbers on 13 Apr 2022 |
Murat Yildirim submitted a Comment to Problem 45463. Word Ladder Hi Asif Newaz,
thx for the problem. I enjoyed to solve it. But in the task i found a missing information. Second Test case provides in the set follwing words 'can','fan','pat'.
In the second iteration when function found pan, all three cases match and i do not see any rule in the description, why it has to be pat. When i follow in the Test Cases the solution, it seems words which differ a single character only at the end of the pattern will get preferred. For my understanding, the current description is not limiting any solution when multiple Hits are detected.
Maybe add an additional requirement, clarifying the rank of matches.
Thx :-).
on 13 Apr 2022 |
Murat Yildirim submitted Solution 7906475 to Problem 1974. Length of a short side on 13 Apr 2022 |
Murat Yildirim received Commenter badge for Solution 309586 on 13 Apr 2022 |
Murat Yildirim submitted a Comment to Solution 309586 Suggested Solutions reminds me lambda expressions in C++ or Java. And i agree regexp misusage is truly hiding the code in MATLAB build in functions. The size = 10 is misleading, since unwrapping the if condition, can never be lesser than a single line function, like this
function tf = is_it_odd(n)
tf = mod( n, 2 ) == 1;
end
Obviously no if environment is called and an explicitly assignment is in this case totally not needed, hence mod is returning a value (type: @logical).
Further this expression cannot work without any explicit assignment command for the output result.
My strict recommendation for MATLAB newbies to ignore such statements. It is truly not good practice and me as Software Developer would directly reject such solutions.
on 13 Apr 2022 |
Murat Yildirim submitted Solution 7906345 to Problem 26. Determine if input is odd on 13 Apr 2022 |
Murat Yildirim submitted Solution 7906305 to Problem 23. Finding Perfect Squares on 13 Apr 2022 |
Murat Yildirim submitted Solution 7906270 to Problem 65. Word Counting and Indexing on 13 Apr 2022 |
Murat Yildirim submitted Solution 7906120 to Problem 92. Find state names that start with the letter N on 13 Apr 2022 |
Murat Yildirim received Solver badge for Solution 7905685 on 13 Apr 2022 |
Murat Yildirim submitted Solution 7905685 to Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN on 13 Apr 2022 |