Coderbroo community
Open in Telegram
🌕 𝑯𝒆𝒓𝒆 𝒚𝒐𝒖 𝒘𝒊𝒍𝒍 𝒈𝒆𝒕 👇 🔴 programming, coding 𝐅𝐑𝐄𝐄 courses 🟢 Handwritten notes on Programming 🟣 Daily 𝙈𝘾𝙌𝙨 ⭐ 🄵🅁🄴🄴 🄳🄴🅅🄴🄻🄾🄿🄴🅁🅂 🄲🄾🄼🄼🅄🄽🄸🅃🅈 🟠 Internships opportunity 🟢 Dev support 🔴 Placement Materials 🌔
Show more3 983
Subscribers
-224 hours
-197 days
-5430 days
Posts Archive
3 983
🚨 *FREE Masterclass* from *IIT* 🎮
🚀 _*Cutting-edge technologies* like AI, Data Science, Web Development, etc._
🦄 _Guarantee your placement_
🎮 *Register FAST* for 🆓:
👇👇
https://rebrand.ly/Free-IIT-Masterclass
https://rebrand.ly/Free-IIT-Masterclass
▶️ Get *Certificate* from IIT 😍
_(Only Last few seats remaining, *HURRY*)_🏃🏻♀️🏃🏻
3 983
Internship opportunity 👍
Last day to apply
👇👇👇👇
https://www.instagram.com/reel/DA2YpO5ILz6/?igsh=bjlsZG84N240YjY2
👍All the best
3 983
10 Ways to Speed Up Your Python Code
1. List Comprehensions
numbers = [x**2 for x in range(100000) if x % 2 == 0]
instead of
numbers = []
for x in range(100000):
if x % 2 == 0:
numbers.append(x**2)
2. Use the Built-In Functions
Many of Python’s built-in functions are written in C, which makes them much faster than a pure python solution.
3. Function Calls Are Expensive
Function calls are expensive in Python. While it is often good practice to separate code into functions, there are times where you should be cautious about calling functions from inside of a loop. It is better to iterate inside a function than to iterate and call a function each iteration.
4. Lazy Module Importing
If you want to use the time.sleep() function in your code, you don't necessarily need to import the entire time package. Instead, you can just do from time import sleep and avoid the overhead of loading basically everything.
5. Take Advantage of Numpy
Numpy is a highly optimized library built with C. It is almost always faster to offload complex math to Numpy rather than relying on the Python interpreter.
6. Try Multiprocessing
Multiprocessing can bring large performance increases to a Python script, but it can be difficult to implement properly compared to other methods mentioned in this post.
7. Be Careful with Bulky Libraries
One of the advantages Python has over other programming languages is the rich selection of third-party libraries available to developers. But, what we may not always consider is the size of the library we are using as a dependency, which could actually decrease the performance of your Python code.
8. Avoid Global Variables
Python is slightly faster at retrieving local variables than global ones. It is simply best to avoid global variables when possible.
9. Try Multiple Solutions
Being able to solve a problem in multiple ways is nice. But, there is often a solution that is faster than the rest and sometimes it comes down to just using a different method or data structure.
10. Think About Your Data Structures
Searching a dictionary or set is insanely fast, but lists take time proportional to the length of the list. However, sets and dictionaries do not maintain order. If you care about the order of your data, you can’t make use of dictionaries or sets.
3 983
https://www.instagram.com/reel/DAsFCUVIKJ6/?igsh=MXNsbXAwbmxueDN4YQ==
10 companies that is going to hire in October month.👍
3 983
100+ Practice Questions
❍ C/C++
❍ Python
❍ JavaScript
❍ Java
❍ C#
❍ Golang
➊ Simple Numbers
➀ Find a digit at a specific place in a number
➁ Find count of digits in a number
➂ Find the largest digit
➃ Find the 2nd largest digit
➄ Find the kth largest digit
➅ Find the smallest digit
➆ Find the 2nd smallest digit
➇ Find the kth smallest digit
➈ Find generic root (sum of all digits) of a number
➉ Reverse the digits in a number
➀➀ Rotate the digits in a number
➀➁ Is the number a palindrome?
➀➂ Find sum of 'n' numbers
➀➃ Check if a number is perfect square
➀➄ Find a number in an AP sequence
➀➅ Find a number in a GP sequence
➀➆ Find a number in fibonacci sequence
➀➇ Check number divisibility by 2, 3, 5, 9
➀➈ Check if a number is primary or not
20. Given a number, print all primes smaller than it
➁➀ Check if a number is circular prime or not
➁➁ Find all prime factors of a number
➁➂ Find the GCD of 2 numbers
➁➃ Find the LCM of 2 numbers
➁➄ Find the factorial of a number
➁➅ Find the exponentiation of a number
➋ Unit Conversion
➀ Number Base (Binary, Octal, Hexadecimal, Decimal)
➁ Weight (gram, kg, pound)
➂ Height (cm, m, inch, feet)
➃ Temperature (centigrade, fahrenhite)
➄ Distance (km, mile)
➅ Area (m², km², acre)
➆ Volume (ltr, gallon)
➇ Time (sec, min, hour)
➈ Currency
➌ Calculator
➀ Loan EMI Calculator
➁ Fixed Deposit Returns Calculator
➂ Interest Calculator
➃ BMI Calculator
➄ Item Price (considering tax, discount, shipping)
➅ Tip Calculator
➍ Geometry
➀ Find distance between 2 points
➁ Given 2 sides of a right angle triangle, find the 3rd
➂ Find 3rd angle of a triangle when 2 are given
➃ Area of a triangle when 3 sides are given
➄ Area of a right angle triangle
➅ Perimeter of a Square
➆ Area of a Square
➇ Perimeter of a Rectangle
➈ Area of a Rectangle
➉ Circumference of a Circle
➀➀ Area of a Circle
➀➁ Circumference of a Semi-Circle
➀➂ Area of a Semi-Circle
➀➃ Area of a Ring
➀➄ Circumference of an Ellipse
➀➅ Area of an Ellipse
➀➆ Suface Area of a Sphere
➀➇ Volume of a Sphere
➀➈ Surface Area of a Hemisphere
20. Volume of a Hemisphere
➁➀ Surface area of a Cube
➁➁ Volume of a Cube
➁➂ Surface area of a Cylinder
➁➃ Volume of a Cylinder
➎ Vector
➀ Find Scalar Multiplication of a vector
➁ Find addition/subtraction of vectors
➂ Find magnitude of a vector
➃ Find an unit vector along a given vector
➄ Find dot product of 2 vectors
➅ Find cross product of 2 vectors
➆ Check if 2 vectors are orthogonal
➏ Matrix
➀ Find the determinant of a matrix
➁ Find Scalar Multiplication of a matrix
➂ Find addition/subtraction of matrices
➃ Find the transpose of a matrix
➄ Find if 2 matrices are orthogonal
➅ Find inverse of a 2x2 and 3x3 matrix
➐ Set
➀ Find Union of 2 sets
➁ Find Intersection of 2 sets
➂ Find the Difference of 2 sets
➃ Find the Symmetric Difference of 2 sets
➄ Find if a set is subset/superset of another set
➅ Find if 2 sets are disjoints
➑ Special Numbers
➀ Strong Number
➁ Perfect Number
➂ Armstrong Number
➃ Harshad Number
➄ Kaprekar Number
➅ Lychrel Number
➆ Narcissistic Decimal Number
➇ Lucus Number
➈ Catalan Number
➉ Duck Number
➀➀ Ugly Number
➀➁ Abundant Number
➀➂ Deficient Number
➀➃ Automorphic Number
➀➄ Magic Number
➀➅ Friendly Pair Numbers
➀➆ Neon Number
➀➇ Spy Number
➀➈ Happy Number
20. Sunny Number
➁➀ Disarium Number
➁➁ Pronic Number
➁➂ Trimorphic Number
➁➃ Evil Number
➁➄ Amicable Pairs
⬘ If you want to excel in programming, practice a lot.
Join for more: https://t.me/coderbroo
⬙ Problems based on numbers are easy to start with and they help in improving your analytical skills.
3 983
100+ Practice Questions
❍ C/C++
❍ Python
❍ JavaScript
❍ Java
❍ C#
❍ Golang
➊ Simple Numbers
➀ Find a digit at a specific place in a number
➁ Find count of digits in a number
➂ Find the largest digit
➃ Find the 2nd largest digit
➄ Find the kth largest digit
➅ Find the smallest digit
➆ Find the 2nd smallest digit
➇ Find the kth smallest digit
➈ Find generic root (sum of all digits) of a number
➉ Reverse the digits in a number
➀➀ Rotate the digits in a number
➀➁ Is the number a palindrome?
➀➂ Find sum of 'n' numbers
➀➃ Check if a number is perfect square
➀➄ Find a number in an AP sequence
➀➅ Find a number in a GP sequence
➀➆ Find a number in fibonacci sequence
➀➇ Check number divisibility by 2, 3, 5, 9
➀➈ Check if a number is primary or not
20. Given a number, print all primes smaller than it
➁➀ Check if a number is circular prime or not
➁➁ Find all prime factors of a number
➁➂ Find the GCD of 2 numbers
➁➃ Find the LCM of 2 numbers
➁➄ Find the factorial of a number
➁➅ Find the exponentiation of a number
➋ Unit Conversion
➀ Number Base (Binary, Octal, Hexadecimal, Decimal)
➁ Weight (gram, kg, pound)
➂ Height (cm, m, inch, feet)
➃ Temperature (centigrade, fahrenhite)
➄ Distance (km, mile)
➅ Area (m², km², acre)
➆ Volume (ltr, gallon)
➇ Time (sec, min, hour)
➈ Currency
➌ Calculator
➀ Loan EMI Calculator
➁ Fixed Deposit Returns Calculator
➂ Interest Calculator
➃ BMI Calculator
➄ Item Price (considering tax, discount, shipping)
➅ Tip Calculator
➍ Geometry
➀ Find distance between 2 points
➁ Given 2 sides of a right angle triangle, find the 3rd
➂ Find 3rd angle of a triangle when 2 are given
➃ Area of a triangle when 3 sides are given
➄ Area of a right angle triangle
➅ Perimeter of a Square
➆ Area of a Square
➇ Perimeter of a Rectangle
➈ Area of a Rectangle
➉ Circumference of a Circle
➀➀ Area of a Circle
➀➁ Circumference of a Semi-Circle
➀➂ Area of a Semi-Circle
➀➃ Area of a Ring
➀➄ Circumference of an Ellipse
➀➅ Area of an Ellipse
➀➆ Suface Area of a Sphere
➀➇ Volume of a Sphere
➀➈ Surface Area of a Hemisphere
20. Volume of a Hemisphere
➁➀ Surface area of a Cube
➁➁ Volume of a Cube
➁➂ Surface area of a Cylinder
➁➃ Volume of a Cylinder
➎ Vector
➀ Find Scalar Multiplication of a vector
➁ Find addition/subtraction of vectors
➂ Find magnitude of a vector
➃ Find an unit vector along a given vector
➄ Find dot product of 2 vectors
➅ Find cross product of 2 vectors
➆ Check if 2 vectors are orthogonal
➏ Matrix
➀ Find the determinant of a matrix
➁ Find Scalar Multiplication of a matrix
➂ Find addition/subtraction of matrices
➃ Find the transpose of a matrix
➄ Find if 2 matrices are orthogonal
➅ Find inverse of a 2x2 and 3x3 matrix
➐ Set
➀ Find Union of 2 sets
➁ Find Intersection of 2 sets
➂ Find the Difference of 2 sets
➃ Find the Symmetric Difference of 2 sets
➄ Find if a set is subset/superset of another set
➅ Find if 2 sets are disjoints
➑ Special Numbers
➀ Strong Number
➁ Perfect Number
➂ Armstrong Number
➃ Harshad Number
➄ Kaprekar Number
➅ Lychrel Number
➆ Narcissistic Decimal Number
➇ Lucus Number
➈ Catalan Number
➉ Duck Number
➀➀ Ugly Number
➀➁ Abundant Number
➀➂ Deficient Number
➀➃ Automorphic Number
➀➄ Magic Number
➀➅ Friendly Pair Numbers
➀➆ Neon Number
➀➇ Spy Number
➀➈ Happy Number
20. Sunny Number
➁➀ Disarium Number
➁➁ Pronic Number
➁➂ Trimorphic Number
➁➃ Evil Number
➁➄ Amicable Pairs
⬘ If you want to excel in programming, practice a lot.
Join for more: https://t.me/programming_guide
⬙ Problems based on numbers are easy to start with and they help in improving your analytical skills.
3 983
*TCS is hiring for freshers*
👇👇
https://www.instagram.com/reel/DAn5DL_owPb/?igsh=MWdsOWE4b3A5Y3F5bw==
Send this reel to my insta inbox 📥 Comment "tcs" to get:
⭕Apply Link
⭕ Sample aptitude paper of tcs ( Last year )
⭕ Placement preparation material of TCS.
3 983
🚀 Elevate Your Career with an Official SQL Certification! 🎓
Want to stand out in the job market?
Secure a Verified SQL Certificate recognized by Google and Amazon! 🌟
Complete a brief Assessment and receive your certificate instantly for just Rs.199. 📜✨
Level up your CV & increase the chance of getting the job by 133%.🚀
Limited time offer 🥵. Click below for Quiz 👇🏻
https://tinyurl.com/SQLXCertificateCB2
3 983
🚀 Elevate Your Career with an Official SQL Certification! 🎓
Want to stand out in the job market?
Secure a Verified SQL Certificate recognized by Google and Amazon! 🌟
Complete a brief Assessment and receive your certificate instantly for just Rs.199. 📜✨
Level up your CV & increase the chance of getting the job by 133%.🚀
Limited time offer 🥵. Click below for Quiz 👇🏻
https://tinyurl.com/SQLXCertificateCB2
3 983
🔟 𝘁𝗶𝗽𝘀 𝗳𝗼𝗿 𝗻𝗲𝘄 𝗰𝗼𝗱𝗲𝗿𝘀: 🔖
1. Learn Fundamentals: Use W3Schools, FreeCodeCamp, or MDN for solid basics.
2. Watch and Code Along: Follow YouTube tutorials to code in real-time.
3. Practice Regularly: Build small projects to sharpen your skills.
4. Join Coding Communities: Engage on platforms like X, Discord, and Reddit for support.
5. Use AI Tools Wisely: Leverage tools like ChatGPT responsibly to aid learning.
6. Master Git and Version Control: Learn to manage your code effectively.
7. Stay Updated: Follow tech blogs, newsletters, and podcasts.
8. Network: Attend meetups, hackathons, and online coding events.
9. Explore Open Source: Contribute to projects to gain experience.
10.Never Stop Learning: Technology evolves—keep exploring new languages and frameworks.
Don't forget to React 🚀💗💥
3 983
If you want resume template of 95+ ATS SCORE 😳
Please checkout this reel 👍
👇👇👇
https://www.instagram.com/reel/DAkXxXCo01L/?igsh=b25rZG1ycW9mZ3Q0
Please follow me on instagram ( This is our official job/internship posting page )
3 983
🚨 *FREE* Masterclass in *Artificial Intelligence (AI)* from *IIT Ropar*👩🏻💻🧑🏻💻
🦄 _Maximize *Internship* & *Job Opportunities* with Minor in AI_❤🔥
▶️ *Register FAST* for 🆓:
👇👇
https://rebrand.ly/Free-AI-Masterclass
_(Hurry, only limited FREE seats available)_🏃🏻♀️🏃🏻
3 983
🥳Attention Everyone!!
*Exclusive Masterclass* for those who are *preparing for the interviews*.
Register free to join *Vishwa Mohan* masterclass on *How to Crack FAANG Companies?*
1-Interview Cheat Codes
2-Soft Skills Mastery
3-Aptitude Learnings
4-Resume and Profile Building and much more.
Date: 28th Sept | 3PM | Live Zoom
Register: https://zoom.us/webinar/register/WN_DhB8KZUgSHCZ3-ClOUPFpQ#/registration
3 983
🚀 Start Your UI/UX Career!
Whether you’re a beginner or want to improve your skills, this masterclass has the secrets to UI/UX success!
👨🎓 3M+ learners have mastered UI/UX skills!
💡 Insider tips on the UI/UX market & big opportunities!
✨ Create awesome UX & boost engagement by 200%!
🎁 FREE for the first 1000 registrations!
Register Now 👉 https://bit.ly/3ZBulu6
