• InstaByte
  • Posts
  • OpenAI launched GPT-5.5 Instant

OpenAI launched GPT-5.5 Instant

ALSO: How text search works

Sponsored by

Welcome back!

This week, we’ll cover the most popular Binary Tree problem. Are you ready for it?

Today we will cover:

  • Invert Binary Tree

  • How text search works

Read time: under 4 minutes

CODING CHALLENGE

Invert Binary Tree

Given the root of a binary tree, invert the tree, and return its root.

Example 1:

Input: root = [4,2,7,1,3,6,9]
Output: [4,7,2,9,6,3,1]

Solve the problem here before reading the solution.

PRESENTED BY ROKU

How Jennifer Aniston’s LolaVie brand grew sales 40% with CTV ads

The DTC beauty category is crowded. To break through, Jennifer Aniston’s brand LolaVie, worked with Roku Ads Manager to easily set up, test, and optimize CTV ad creatives. The campaign helped drive a big lift in sales and customer growth, helping LolaVie break through in the crowded beauty category.

SOLUTION

To invert a binary tree, we need to swap the left and right children of every node in the tree. We can use a recursive approach to solve this problem.

For each node, we'll first recursively invert its left and right subtrees. Then, we'll swap its left and right children. The base case is when we reach a null node.

The time complexity of this solution is O(n), where n is the number of nodes in the tree.

IN THE AI WORLD 

Learn AI in 5 minutes a day

You don't have to scroll every AI thread, track every new tool, or watch every demo. 

The Rundown AI breaks it all down for you — the latest AI news, tools, and tutorials in one free 5-minute email every morning. 

Trusted by 2M+ professionals at Apple, Google, and NASA.

SYSTEM DESIGN

How text search works?

When you have a large database table with millions of records, searching through it can be painfully slow. Think about a table with customer information containing names, addresses, phone numbers, and other details.

Let’s say you want to find all customers whose name contains "Smith". Without a search index, the database has to check every single row in the table one by one. This is called a full table scan, and it's highly inefficient.

A search index solves this performance problem. It's a specialized data structure that stores your data in a way that makes searching much faster. When you search for "Smith" in a database with a proper search index, instead of checking every row, the database uses the index to jump directly to the relevant records.

This is possible because database contains a mapping between a word or token and the records that contain that token. This is similar to how any database index works. But search indexes are specifically designed to handle text searches efficiently. They can quickly find partial matches, handle different word forms, and even account for common misspellings.

Apache Lucene is one of the most popular open-source search index implementations. Lucene handles all the complex work of creating and maintaining search indexes like including breaking text into searchable terms, removing common words, and storing the processed data efficiently.

Elasticsearch, built on top of Lucene, takes these capabilities even further. It's a distributed search engine that can handle massive amounts of data across multiple servers. Many major websites and applications use Elasticsearch to power their search features. It provides a simple way to set up search functionality that can scale as your data grows, and it includes features like real-time search, automatic suggestions, and analytics capabilities.

FEATURED COURSES

5 Courses of the Week

✅ LLM Engineering: A hands-on bootcamp where you build 8 generative AI apps over 8 weeks. It covers frontier APIs, HuggingFace, and LangChain. You also get deep dives into RAG, fine-tuning with QLoRA, and autonomous multi-agent systems.

✅ Machine Learning A-Z: The bestselling ML course on Udemy with over 1 million students. It covers regression, classification, clustering, NLP, deep learning, and reinforcement learning. You get parallel Python and R implementations.

✅ The Complete Cyber Security Course: A foundational cybersecurity course taught by a 25-year industry veteran. It covers threat modeling, malware, encryption, and OS hardening on Windows, macOS, and Linux. You'll also learn isolation techniques with virtual machines and Qubes OS.

✅ AWS Solutions Architect Associate: The benchmark prep course for the SAA-C03 cloud certification. It covers core AWS services like EC2, S3, VPC, RDS, DynamoDB, and Lambda. Hands-on labs and a full practice exam are included.

✅ 100 Days of Code: A 60+ hour project-based bootcamp where you build 100 Python projects. It covers automation, web scraping, Flask web apps, and data science with Pandas and NumPy. You'll also get an introduction to machine learning with Scikit-Learn.

NEWS

This Week in the Tech World

OpenAI rolls out GPT-5.5 Instant: OpenAI made GPT-5.5 Instant the new default model for ChatGPT, focused on cutting hallucinations in law, medicine, and finance while keeping latency low. Developers gain API access via "chat-latest".

Musk admits xAI distilled OpenAI models: In court, Elon Musk acknowledged xAI had, to some extent, distilled OpenAI models. Distillation uses outputs from a stronger model to train another, a common but increasingly controversial practice in AI.

AWS lets AI agents run virtual desktops: Amazon Web Services launched a preview that lets AI agents access and operate WorkSpaces virtual desktops with assigned identities, making it easier to track agent behavior and separate human from machine actions.

OpenAI hands Codex to 8,000 developers: OpenAI turned its sold-out GPT-5.5 event into a month-long Codex giveaway for 8,000 developers. The move puts its coding tools in more hands as competition in AI-assisted software development intensifies.

Anthropic launches AI agents for finance: Anthropic rolled out 10 AI agents built for banks, insurers, asset managers, and fintechs. The tools handle pitchbook drafting, financial statement review, credit memo prep, and compliance escalation.

U.S. to vet frontier AI models pre-release: Google DeepMind, Microsoft, and xAI agreed to let the U.S. Commerce Department's AI safety unit review new models before public release. Reviews will focus on capabilities and national security risks.

Samsung crosses $1T market cap: Samsung hit a $1 trillion valuation, becoming the second Asian company after TSMC to do so. Shares surged over 15% in a single day, fueled by investor confidence in its AI memory and semiconductor businesses.

China eyes DeepSeek at $50B valuation: China is reportedly preparing to invest in DeepSeek at around a $50 billion valuation. The move comes as Beijing pushes to strengthen domestic AI champions amid U.S. chip restrictions and global competition.

BONUS

Just for laughs 😏

HELP US

👋 Hi there! We are on a mission to provide as much value as possible for free. If you want this newsletter to remain free, please help us grow by referring your friends:

📌 Share your referral link on LinkedIn or directly with your friends.
📌 Check your referrals status here.

YOUR FEEDBACK

What did you think of this week's email?

Your feedback helps us create better emails for you!

Login or Subscribe to participate in polls.

Until next time, take care! 🚀

Cheers,