Great questions Akash! Yes you can use auto in for loops. And no, it will not make your code less efficient. The compiler will ultimately determine a type at compilation time when the program gets compiled, so no extra work will be required from the program when it is executing (for example, to determine a type to use).
@@PortfolioCourses Thank Sir. I am hopping for some advice , i'm good at solving problems with brute-force approach but I'm bad at coming up with efficient algorithms . what should I do?
@@shafayet0198 Coming up with efficient algorithms is much more difficult than coming up with brute force solutions. To come up with an efficient algorithm for normal "easier" problems, like say accessing things in files or working with a data structure, it can help if we learn about many similar algorithms. That will give ourselves a "toolbox" of similar problems, and when we go to solve the new problem, either consciously or unconsciously, we can pull ideas from that toolbox to solve the new problem. For very deep hard mathematical problems in computer science, everyone struggles to solve them efficiently... even experienced and smart computer scientists will struggle. 🙂
This is a first class tutorial with high quality content. You're helping so many people worldwide. God bless you, my friend!
Can we use auto in for loops and will it make our code less efficient?
Great questions Akash! Yes you can use auto in for loops. And no, it will not make your code less efficient. The compiler will ultimately determine a type at compilation time when the program gets compiled, so no extra work will be required from the program when it is executing (for example, to determine a type to use).
@@PortfolioCourses Thank Sir. I am hopping for some advice , i'm good at solving problems with brute-force approach but I'm bad at coming up with efficient algorithms . what should I do?
@@shafayet0198 Coming up with efficient algorithms is much more difficult than coming up with brute force solutions. To come up with an efficient algorithm for normal "easier" problems, like say accessing things in files or working with a data structure, it can help if we learn about many similar algorithms. That will give ourselves a "toolbox" of similar problems, and when we go to solve the new problem, either consciously or unconsciously, we can pull ideas from that toolbox to solve the new problem. For very deep hard mathematical problems in computer science, everyone struggles to solve them efficiently... even experienced and smart computer scientists will struggle. 🙂
@@PortfolioCourses thanks for the encouragement.
@@shafayet0198 You're welcome Akash! 🙂
thank you.
Sir can you start web development course
That’s something I would really like to do. I’m hoping to cover some web topics over the summer. :-)
@@PortfolioCourses sir I m in BTech 3rd year I want to get job in web development so I want you should start please
Thank you for the encouragement! :-)
Thanks
You’re welcome! :-)
The fact that you forced me to sit through 2 ads without the ability to skip made me find a different video. Cheers
Thanks for the feedback!
Lmao how is it his fault? Typical crybaby moment lol
i bet he didnt find a better video
L bozo
LMAOOOO what a clown