Problem Solving for Developers - JavaScript

Problem Solving for Developers - JavaScript


Problem Solving for Developers - JavaScript

Just like any other skill, problem solving takes practice to apply and master. Many developers think that becoming a better problem solver means being able to solve more problems, faster. But that’s not true — it means being able to find the best solution to a problem, and then put that solution in place.

00:00 - Intro
00:04 - Problem
00:37 - Solve the problem
00:45 - Solution


practice javascript problems
learn basic javascript
soft skills
practice problems
telugu, hindi
learn advanced problems
solve hard problems
developers of bitcoin
problem solving
difference between developer and programmer
developers by blockchain
developers of youtube
NTF
developers be like
problem solving in programming
turing developers algorithm test
how to improve coding problem solving skills
how to do problem solving in coding
how to solve a problem
developers in telugu
Data Structures
Algorithms
developer shorts
arrays
problem solving for beginners
how to code
problem solving for coding
problem solving for programming
developers in 2022
developers in the wild
developer mode kya hai
problem solving in coding
how to do problem solving in coding
problem solving programming in c
programming for problem solving code with harry
how to write code

#shorts #myfirstshorts #javascript


Content

0.08 -> hey everyone
1.36 -> andrini today's problem is
4.08 -> given an array of size n consisting of
6.319 -> only zeros and ones the array is sorted
9.04 -> in such a manner that all the ones are
11.2 -> placed first and then they are followed
13.12 -> by all the zeros find the count of all
15.36 -> the zeros
16.72 -> in example one size of an array is
18.96 -> twelve
19.92 -> array contains nine ones and three zeros
22.64 -> and output should be three
24.48 -> reason is there are three zeros in the
26.16 -> given array
27.359 -> in example two
28.8 -> size of an array is five array contains
31.119 -> five zeros and output should be five
34.399 -> reason is there are five zeros in the
36.399 -> array
37.68 -> now pause the video have a bit of coding
39.84 -> yourself and see what kind of solution
41.76 -> you came up with and count on your best
43.6 -> solution
44.96 -> okay now let's create an arrow function
47.2 -> taking array as parameter and now
49.92 -> let's filter give an array and add a
51.76 -> callback function to check if element is
53.68 -> equal to zero and return the length
56.079 -> let's test it
57.36 -> i hope you liked it and subscribe for
58.8 -> more short videos also leave a comment
61.12 -> to get featured in upcoming videos
63.28 -> thank you

Source: https://www.youtube.com/watch?v=Tm3r4lkbQUw