Skip to content

Emmanuel Brun d'Aubignosc's site about software engineering

This is my personal blog about software and algorithms

Menu
  • About
Menu

Category: Uncategorized

Leecode Valid Parentheses C++

Posted on September 7, 2023 by Emmanuel Brun d'Aubignosc

Given a string s containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[‘ and ‘]’, determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Every close bracket has a corresponding open…

Read more

Leetcode Two Sums C++

Posted on September 3, 2023September 8, 2023 by Emmanuel Brun d'Aubignosc

This is the first time I try Leetcode. Here is the C++ solution to my first Leetcode problem. We have to find two different indexes, in any order, of two integers which add up to target. This code is very efficient for memory, but at the expense of speed, O(n2). The next code is much…

Read more

Quick sort using modern C++

Posted on August 31, 2023August 31, 2023 by Emmanuel Brun d'Aubignosc
Read more

Recent Posts

  • Leecode Valid Parentheses C++
  • Leetcode Two Sums Java
  • Leetcode Two Sums C++
  • Quick sort using modern C++

Recent Comments

No comments to show.

Archives

  • September 2023
  • August 2023

Categories

  • Leetcode
  • Uncategorized
© 2025 Emmanuel Brun d'Aubignosc's site about software engineering | Powered by Minimalist Blog WordPress Theme