PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/SIG (Susquehanna)

Solve animals-and-legs count

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's ability to translate a word problem into a system of linear equations and perform basic algebraic manipulation and arithmetic to determine unknown quantities.

  • easy
  • SIG (Susquehanna)
  • Statistics & Math
  • Data Scientist

Solve animals-and-legs count

Company: SIG (Susquehanna)

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Take-home Project

In a barn are spiders, chickens, and cows. Spiders have 8 legs, chickens 2 legs, and cows 4 legs. There are 520 legs in total. The number of chickens is twice the number of cows, and the number of spiders is twice the number of chickens. How many chickens are there?

Quick Answer: This question evaluates a candidate's ability to translate a word problem into a system of linear equations and perform basic algebraic manipulation and arithmetic to determine unknown quantities.

Related Interview Questions

  • Compute sample sizes and error control - SIG (Susquehanna) (Medium)
  • Determine roles from B's accusation - SIG (Susquehanna) (easy)
  • Infer posterior after losing pick - SIG (Susquehanna) (easy)
  • Determine departure time from travel times - SIG (Susquehanna) (medium)
  • Compute ruin probability with bold betting - SIG (Susquehanna) (medium)
SIG (Susquehanna) logo
SIG (Susquehanna)
Aug 11, 2025, 12:00 AM
Data Scientist
Take-home Project
Statistics & Math
7
0

Barn Legs Puzzle (Linear Equations)

Convert the word problem into a small system of linear equations and solve.

You have a barn with three types of animals, each with a fixed number of legs:

  • Spiders: 8 legs
  • Chickens: 2 legs
  • Cows: 4 legs

Additional relationships:

  1. The number of chickens is twice the number of cows.
  2. The number of spiders is twice the number of chickens.

There are 520 legs in total. How many chickens are in the barn?

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More SIG (Susquehanna)•More Data Scientist•SIG (Susquehanna) Data Scientist•SIG (Susquehanna) Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.