Skip to content

AI Math vs LangChain

Compare these two topics side by side to decide which to study first — or tackle both!

🤖

AI Math

AI

500

Cards

~250m

Study time

Advanced

Difficulty

Sample questions

  • What is a vector in the context of machine learning?
  • How do you add two vectors?
  • How do you multiply a vector by a scalar?
  • What is the L2 (Euclidean) norm of a vector?
  • What is the L1 norm of a vector?
Study AI Math →
🤖

LangChain

AI

46

Cards

~23m

Study time

Intermediate

Difficulty

Sample questions

  • What is LangChain?
  • What is LCEL (LangChain Expression Language)?
  • How do you create a ChatPromptTemplate?
  • How do you invoke a ChatModel in LangChain?
  • How do you stream responses in LangChain?
Study LangChain →

🤔 Which should you study first?

Both topics are in the AI category, so they complement each other well. We suggest starting with the smaller deck to build momentum:

AI Math

500 cards · ~250 min · Advanced

LangChain

46 cards · ~23 min · Intermediate

⭐ Quicker to complete

📊 More comparisons