UIL Computer Science Contest Session 10:50 AM - 11:35 AM

Intro Slide

Session 206: 10:50 AM - 11:35 AM

Basic Data Structures and Algorithms

You have to know your basic algorithms in sorting, searching and merging.

These are the data structures that you will be tested on - Stacks, Queues, Linked Lists, Binary Search Trees, Heaps, and Graphs. Here are resources on data structures to get you started:

Classes of Algorithms

There are four classes of algorithms that you must be familiar with

Here is a brief discussion on these four classes of algorithms.

Recursion

Some of the more difficult problems in the UIL Written Test involves tracing recursive code. There are some problems on the programming contest that can only be solved through recursion. Here are some resources to get you started:

Tips for tracing recursive code by hand:

Special Topics

There are two special topics that you might see on the written test.

Regular Expressions (Regex): A regular expression is a pattern made of characters and symbols that describes a set of strings, used to search, match, or validate text. For example, the pattern [0-9]+ matches one or more digits in a row, so it would match "42" or "2026" but not "abc".

Lambda Expressions: A lambda expression is a short, unnamed function that you can write inline and pass around like a value, instead of writing a full method with a name. For example, in Java, (a, b) -> a + b is a lambda that takes two parameters and returns their sum, and it's often used as a quick way to define behavior for things like sorting or filtering a list.