function twoSum(nums, target) {
  const map = new Map();
  for (let i = 0; i < nums.length; i++) {
    const need = target - nums[i];
    if (map.has(need)) return [map.get(need), i];
    map.set(nums[i], i);
  }
}
async function fetchLeaderboard() {
  const res = await api.get('/leaderboards');
  return res.data.items;
}
def solve():
    a, b = map(int, input().split())
    print(a + b)
const graph = new Map();
for (const [u, v] of edges) {
  if (!graph.has(u)) graph.set(u, []);
  graph.get(u).push(v);
}
function twoSum(nums, target) {
  const map = new Map();
  for (let i = 0; i < nums.length; i++) {
    const need = target - nums[i];
    if (map.has(need)) return [map.get(need), i];
    map.set(nums[i], i);
  }
}
async function fetchLeaderboard() {
  const res = await api.get('/leaderboards');
  return res.data.items;
}
def solve():
    a, b = map(int, input().split())
    print(a + b)
const graph = new Map();
for (const [u, v] of edges) {
  if (!graph.has(u)) graph.set(u, []);
  graph.get(u).push(v);
}
function twoSum(nums, target) {
  const map = new Map();
  for (let i = 0; i < nums.length; i++) {
    const need = target - nums[i];
    if (map.has(need)) return [map.get(need), i];
    map.set(nums[i], i);
  }
}
async function fetchLeaderboard() {
  const res = await api.get('/leaderboards');
  return res.data.items;
}
def solve():
    a, b = map(int, input().split())
    print(a + b)
const graph = new Map();
for (const [u, v] of edges) {
  if (!graph.has(u)) graph.set(u, []);
  graph.get(u).push(v);
}
function twoSum(nums, target) {
  const map = new Map();
  for (let i = 0; i < nums.length; i++) {
    const need = target - nums[i];
    if (map.has(need)) return [map.get(need), i];
    map.set(nums[i], i);
  }
}
async function fetchLeaderboard() {
  const res = await api.get('/leaderboards');
  return res.data.items;
}
def solve():
    a, b = map(int, input().split())
    print(a + b)
const graph = new Map();
for (const [u, v] of edges) {
  if (!graph.has(u)) graph.set(u, []);
  graph.get(u).push(v);
}
✨ Built for developers preparing for top tech roles

Learn. Compete. Grow.

DSA contests, competitive programming, system design challenges, job discovery, and career services — all in one platform for just ₹49/month.

Cancel anytime · No hidden fees

Everything you need to grow

One membership unlocks the full suite of learning, competition, and career tools.

</>

DSA Contests

Timed algorithmic challenges with auto-grading to sharpen your problem-solving skills.

🏆

CP Contests

Competitive programming contests with ratings to track your growth over time.

⬡

System Design

Architecture challenges that prepare you for senior engineering interviews.

?

Tech Quizzes

MCQ-based assessments across frontend, backend, databases, and more.

💼

Jobs Board

Curated job listings from top startups and product companies in India.

👥

Referral Board

Community-driven referrals to help you land interviews faster.

📊

Leaderboards

Global, weekly, and contest-specific rankings to fuel healthy competition.

★

Premium Services

Resume reviews, mock interviews, and career guidance from experts.

Simple, transparent pricing

One membership. Full access. Premium services available à la carte.

Most Popular

Membership

₹49/month
  • ✓DSA & CP Contests
  • ✓System Design Challenges
  • ✓Tech Quizzes
  • ✓Jobs & Referral Board
  • ✓Leaderboards

Premium Services

Available separately for members

  • +Resume Review
  • +Mock Interview
  • +Career Guidance Call
  • +LinkedIn Review

Book premium services from your dashboard after subscribing.

Ready to accelerate your career?

Join thousands of developers learning, competing, and growing on Codentra.