π2
π ππΆπ½π π³πΌπΏ π»π²π π°πΌπ±π²πΏπ: π
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 πππ₯
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π2
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.
β 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.
Telegram
Coderbroo community
π π―πππ πππ ππππ πππ π
π΄ programming, coding π πππ courses
π’ Handwritten notes on Programming
π£ Daily ππΎππ¨
β π΅π π΄π΄ π³π΄π π΄π»πΎπΏπ΄π π π²πΎπΌπΌπ π½πΈπ π
π Internships opportunity
π’ Dev support
π΄ Placement Materials
π
π΄ programming, coding π πππ courses
π’ Handwritten notes on Programming
π£ Daily ππΎππ¨
β π΅π π΄π΄ π³π΄π π΄π»πΎπΏπ΄π π π²πΎπΌπΌπ π½πΈπ π
π Internships opportunity
π’ Dev support
π΄ Placement Materials
π
π3
https://www.instagram.com/reel/DAsFCUVIKJ6/?igsh=MXNsbXAwbmxueDN4YQ==
10 companies that is going to hire in October month.π
10 companies that is going to hire in October month.π
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.
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.
β€1π1
Internship opportunity π
Last day to apply
ππππ
https://www.instagram.com/reel/DA2YpO5ILz6/?igsh=bjlsZG84N240YjY2
πAll the best
Last day to apply
ππππ
https://www.instagram.com/reel/DA2YpO5ILz6/?igsh=bjlsZG84N240YjY2
πAll the best
π1
π3