Last checked: October 31, 2026. Course details come from the WGU Institutional Catalog (October 2026). Course codes can change, so confirm in your WGU degree plan.
To pass WGU C949, you need to know how common data structures behave and how fast their operations run. It ends with an objective assessment, so learn each structure by tracing it by hand. Once you can draw what happens to a stack, tree, or hash table, the big-O answers start to make sense.
Want to test yourself first? Take the free C949 practice quiz.
C949 is the foundation of computer science: how data is organized, and how to work with it efficiently. It’s a lot of new vocabulary, but each structure follows simple rules. Learn the rules, and the questions become much easier.
WGU C949 at a glance
| Course code | C949 |
| Course name | Data Structures and Algorithms I |
| Competency units | 4 |
| Programs | B.S. Computer Science, B.S. Software Engineering, and B.S. Data Analytics, among others |
| Leads to | C950 Data Structures and Algorithms II |
| Assessment | Objective assessment (OA), confirmed by PassPathways. Check your course page |
How does C949 work?
C949 appears in 5 degree programs in the October 2026 catalog. It ends with an objective assessment (OA). WGU doesn’t publish assessment types on its public pages. PassPathways has confirmed this one, but check your own course page.
WGU’s program guides list three competencies: applying algorithms based on space and time complexity in big-O notation, determining how data structure types affect operations, and explaining the use, logic, and structure of algorithms.
What C949 covers
According to WGU’s catalog, C949 covers the fundamentals of dynamic data structures, like bags, lists, stacks, queues, trees, and hash tables, along with their algorithms. It discusses object-oriented design and abstract data types, and emphasizes problem-solving and designing efficient, maintainable software.
Topics to master for C949
1. Big O notation
Big O describes how an algorithm’s time or memory grows as the input grows.
| Big O | Name | Example |
|---|---|---|
| O(1) | Constant | Accessing an array element by index |
| O(log n) | Logarithmic | Binary search |
| O(n) | Linear | Searching an unsorted list |
| O(n log n) | Linearithmic | Merge sort |
| O(n²) | Quadratic | Bubble sort, nested loops |
2. Abstract data types (ADTs)
An ADT defines what operations a structure supports, not how it’s built. For example, a stack ADT promises push and pop, whether it uses an array or a linked list underneath.
3. Linear structures
- Array: fixed order, fast access by index, slow inserts in the middle.
- Linked list: nodes point to the next node. Fast inserts, but slow access by position.
- Stack: LIFO (last in, first out), like a stack of plates. Operations: push, pop, peek.
- Queue: FIFO (first in, first out), like a line at a store. Operations: enqueue, dequeue.
- Bag: an unordered collection that allows duplicates.
4. Trees
- A binary tree node has up to two children.
- A binary search tree (BST) keeps smaller values on the left and larger on the right, so searching is fast when it’s balanced.
- Traversals: in-order (left, root, right), pre-order (root, left, right), and post-order (left, right, root).
- A heap keeps the largest (max-heap) or smallest (min-heap) value at the top.
5. Hash tables
- A hash function turns a key into an index.
- Collisions happen when two keys map to the same index. Fix them with chaining (lists at each slot) or open addressing (probing for another slot).
- Average lookup is O(1).
6. Searching and sorting
- Linear search: O(n). Binary search: O(log n), but the data must be sorted.
- Bubble, selection, and insertion sort: O(n²) in the worst case.
- Merge sort: O(n log n), and stable.
- Quicksort: O(n log n) on average, O(n²) in the worst case.
A suggested 14-day C949 study plan
This is our suggestion, not a WGU timeline. Adjust it to your pace.
- Days 1–2: Pre-assessment, then Big O.
- Day 3: ADTs and object-oriented design.
- Days 4–5: Arrays and linked lists.
- Day 6: Stacks and queues.
- Days 7–8: Trees, BSTs, and traversals.
- Day 9: Heaps.
- Day 10: Hash tables.
- Days 11–12: Searching and sorting algorithms.
- Day 13: Mixed practice questions.
- Day 14: Retake the pre-assessment and review weak areas.
C949 study tips
- Draw every structure. Sketch a linked list insert or a BST traversal by hand.
- Make a Big O reference chart for each operation on each structure, and rewrite it from memory.
- Trace small examples. Sort five numbers by hand with each algorithm.
Common C949 mistakes
- Mixing up LIFO (stack) and FIFO (queue).
- Forgetting that binary search needs sorted data.
- Mixing up the tree traversal orders.
- Confusing average and worst-case Big O for quicksort.
Worked examples
Tracing a stack. Push 1, 2, then 3, and pop once. The stack is last in, first out, so the pop returns 3, and 1 and 2 remain. Do the same with a queue and you’d get 1. Questions like this are quick once you draw them.
Building a binary search tree. Insert 8, 3, 10, 1, and 6. The root is 8. Then 3 goes left, 10 goes right, 1 goes left of 3, and 6 goes right of 3. An in-order traversal visits left, node, right, giving 1, 3, 6, 8, 10. In-order on a BST always gives sorted output, which makes a handy check.
Spotting a hash collision. A table has 7 slots, and uses key mod 7. Key 15 goes to slot 1, and key 22 also goes to slot 1. That’s a collision. Chaining keeps both in a list at that slot, while linear probing moves 22 to the next free slot.
One pass of bubble sort. Start with 5, 2, 9, 1. Compare neighbors and swap if needed: 2, 5, 9, 1, then 2, 5, 1, 9. After one pass, the largest value has reached the end.
Practice problems (original)
- Push A, B, C onto a stack, pop twice, then push D. What’s on top?
- Enqueue 4, 7, 9, then dequeue once. What’s at the front?
- Use binary search to find 10 in 2, 4, 6, 8, 10, 12. How many middle checks does it take?
- What’s the big-O of searching an unsorted linked list?
- What’s the in-order traversal of a BST built by inserting 5, 2, 7?
Solutions
- D. After two pops, only A remains, then D goes on top.
- 7, because 4 left first.
- Two. The first middle is 6, so search right. The next middle is 10.
- O(n), since you may need to walk the whole list.
- 2, 5, 7.
If you did not pass C949
Your score report shows which competency came up short. If it was big-O, make a table of each structure and its operations, and fill it in from memory. If it was structures, trace them by hand again. Use the 7-day WGU retake plan, read the WGU retake policy, and talk with your instructor. See the WGU retake hub for more.
WGU C949 FAQ
Is C949 hard? It’s vocabulary-heavy and conceptual. Drawing structures and memorizing Big O for common operations make the biggest difference.
Do I need to code a lot? Check your course materials. The catalog says you’ll implement simple applications using the techniques you learn.
Ready to test yourself?
Take the free C949 practice quiz.
Related guides
- C950 Data Structures and Algorithms II guide
- C960 Discrete Mathematics II study guide
- BS Software Engineering transfer map
- Am I ready for the WGU OA?
PassPathways is an independent resource and is not affiliated with WGU. This guide contains original explanations, not actual exam questions.
Back to the WGU study guides.
Stuck on this course? Get one-on-one tutoring.
Tell us what you want, and we'll reply with how a tutor can help. We teach and coach. When you're ready, agree to our terms below.
Get startedWant help with WGU C949 Data Structures and Algorithms I?
Reading a guide is a great start, but some topics click faster when someone explains them to you. Our tutors work one on one with WGU students.
- Tell us where you're stuck. Share your course and what feels hard.
- We reply on WhatsApp or email. No forms to wait on if you'd rather chat.
- A tutor explains it and builds a plan with you, so you understand the material and pass on your own.
- Original guides, fact-checked against official WGU sources
- Honest, ethical tutoring: we teach, you do your own work
- Free practice quizzes to check your progress