Coding interview preparation
5.75K subscribers
329 photos
47 files
163 links
Download Telegram
All 25 Algorithms...
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
Getting job offers as a developer involves several steps:👨‍💻🚀

1. Build a Strong Portfolio: Create a portfolio of projects that showcase your skills. Include personal projects, open-source contributions, or freelance work. This demonstrates your abilities to potential employers.👨‍💻

2. Enhance Your Skills: Stay updated with the latest technologies and trends in your field. Consider taking online courses, attending workshops, or earning certifications to bolster your skills.🚀

3. Network: Attend industry events, conferences, and meetups to connect with professionals in your field. Utilize social media platforms like LinkedIn to build a professional network.🔥

4. Resume and Cover Letter: Craft a tailored resume and cover letter for each job application. Highlight relevant skills and experiences that match the job requirements.📇

5. Job Search Platforms: Utilize job search websites like LinkedIn, Indeed, Glassdoor, and specialized platforms like Stack Overflow Jobs, GitHub Jobs, or AngelList for tech-related positions. 🔍

6. Company Research: Research companies you're interested in working for. Customize your application to show your genuine interest in their mission and values.🕵️‍♂️

7. Prepare for Interviews: Be ready for technical interviews. Practice coding challenges, algorithms, and data structures. Also, be prepared to discuss your past projects and problem-solving skills.📝

8. Soft Skills: Develop your soft skills like communication, teamwork, and problem-solving. Employers often look for candidates who can work well in a team and communicate effectively.💻

9. Internships and Freelancing: Consider internships or freelancing opportunities to gain practical experience and build your resume. 🏠

10. Personal Branding: Maintain an online presence by sharing your work, insights, and thoughts on platforms like GitHub, personal blogs, or social media. This can help you get noticed by potential employers.👦

11. Referrals: Reach out to your network and ask for referrals from people you know in the industry. Employee referrals are often highly valued by companies.🌈

12. Persistence: The job search process can be challenging. Don't get discouraged by rejections. Keep applying, learning, and improving your skills.💯

13. Negotiate Offers: When you receive job offers, negotiate your salary and benefits. Research industry standards and be prepared to discuss your expectations.📉

Remember that the job search process can take time, so patience is key. By focusing on these steps and continuously improving your skills and network, you can increase your chances of receiving job offers as a developer.
Common Coding Mistakes to Avoid
Even experienced programmers make mistakes.


Undefined variables:
Ensure all variables are declared and initialized before use.

Type coercion:
Be mindful of JavaScript's automatic type conversion, which can lead to unexpected results.

Incorrect scope:
Understand the difference between global and local scope to avoid unintended variable access.

Logical errors:
Carefully review your code for logical inconsistencies that might lead to incorrect output.

Off-by-one errors:
Pay attention to array indices and loop conditions to prevent errors in indexing and iteration.

Infinite loops:
Avoid creating loops that never terminate due to incorrect conditions or missing exit points.

Example:
// Undefined variable error
let result = x + 5; // Assuming x is not declared

// Type coercion error
let age = "30";
let isAdult = age >= 18; // Age will be converted to a number

By being aware of these common pitfalls, you can write more robust and error-free code.

Do you have any specific coding mistakes you've encountered recently?
Do you know these symbols?
Technologies used by Netflix
SCREENSHOTS IN PYTHON
💡Use ZIP function to iterate over multiple lists simultaneously 💡
IMPROVING API PERFORMANCE
DEVOPS CHEAT SHEET
A DEADLOCK?