Programming notes
256 subscribers
438 photos
1 video
1 file
130 links
Student at the University of Arkansas πŸ‡ΊπŸ‡Έ

In Uzbek @uzbekode
Download Telegram
The reduceRight() method executes a reducer function for each array element.

The reduceRight() method works from right to left.

The reduceRight() method returns a single value: the function's accumulated result.

The reduceRight() method does not execute the function for empty elements.

πŸ’ͺ 10 Day Challenge: Day 4 βœ…

@leetcode_javascript
Please open Telegram to view this post
VIEW IN TELEGRAM
Memory is quite good, but runtime πŸ₯΄

πŸ’ͺ 10 Day Challenge: Day 5 βœ…
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ‘‰ "Promise.all" takes an array of promises and returns a single promise that resolves when all of the promises in the array have resolved. The resolved value will be an array of the resolved values of the input promises.

πŸ‘‰ The "then" method is used to handle the resolved values of the promises. It takes a callback function that receives the resolved values as an array.

πŸ’ͺ 10 Day Challenge: Day 6 βœ…

@leetcode_javascript
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
First medium problem of the Challenge.

Acceptance rate: 62.5%

πŸ’ͺ 10 Day Challenge: Day 7 βœ…

@leetcode_javascript
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’ͺ 10 Day Challenge: Day 8 βœ…

@leetcode_javascript
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’ͺ 10 Day Challenge: Day 9 βœ…

@leetcode_javascript
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
πŸ’ͺ 10 Day Challenge: Day 10 βœ…

Challenge completed!
😎

@leetcode_javascript
Please open Telegram to view this post
VIEW IN TELEGRAM
A new programmer writes 5 lines of code, compiles and runs, writes 5 more lines, and compiles and runs again. The programmer is _____ .
Anonymous Quiz
36%
wasting time
64%
following good practice
I am taking programming foundations 1 this semester at the University of Arkansas. I will share some insights, tips.
Programming notes
A new programmer writes 5 lines of code, compiles and runs, writes 5 more lines, and compiles and runs again. The programmer is _____ .
Though beginning programmers may think such an approach wastes time, in fact the approach saves time. The approach enables faster detection and correction of errors. If multiple errors exist in large code, the errors may interact and be harder to detect and correct.