[PR #896] [CLOSED] Perf: faster implementation of the leetcode TwoSum problem #1416

Open
opened 2026-01-29 15:20:23 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/896
Author: @straight-into-the-wall
Created: 10/21/2021
Status: Closed

Base: masterHead: master


📝 Commits (7)

  • 4ff5849 perf: faster implementation of the TwoSum problem
  • 6453a9e doc: fixed typos on comments
  • 80e54d9 updating DIRECTORY.md
  • 23c0485 fix: comments on includes. Doxygen file. static test function
  • 13330eb Merge branch 'master' of github.com:TheAlgorithms/C
  • e57c16d fix: revert 1.c
  • 310c333 updating DIRECTORY.md

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 DIRECTORY.md (+3 -1)

📄 Description

Description of Change

A faster and more documented solution of the TwoSum problem on leetcode.

see TwoSum problem on leetcode

Old SubmissionDetail (pdf)

New SubmissionDetail (pdf)

References

Hacktoberfest issue

Checklist

  • Added description of change
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: faster and more documented solution of the leetcode TwoSum problem


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/896 **Author:** [@straight-into-the-wall](https://github.com/straight-into-the-wall) **Created:** 10/21/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`4ff5849`](https://github.com/TheAlgorithms/C/commit/4ff5849c55957ad1988e5f88b63b9d3992a3ddf6) perf: faster implementation of the TwoSum problem - [`6453a9e`](https://github.com/TheAlgorithms/C/commit/6453a9e748c75ed87ce2f54cf7f9feb0c867af40) doc: fixed typos on comments - [`80e54d9`](https://github.com/TheAlgorithms/C/commit/80e54d94f937b733dcc75d7b6ea1b4eb337d7cce) updating DIRECTORY.md - [`23c0485`](https://github.com/TheAlgorithms/C/commit/23c0485933b11280388b01e5791cd408929ce133) fix: comments on includes. Doxygen file. static test function - [`13330eb`](https://github.com/TheAlgorithms/C/commit/13330ebafe5ef36709cbc8499f1be1b24e604e20) Merge branch 'master' of github.com:TheAlgorithms/C - [`e57c16d`](https://github.com/TheAlgorithms/C/commit/e57c16d156ce8e23b20c82350f47dc49e5400ea6) fix: revert 1.c - [`310c333`](https://github.com/TheAlgorithms/C/commit/310c333d7779ae07855fe4cf7403eb073298d0fc) updating DIRECTORY.md ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+3 -1) </details> ### 📄 Description #### Description of Change A faster and more documented solution of the TwoSum problem on leetcode. see [TwoSum problem on leetcode](https://leetcode.com/problems/two-sum/) [Old SubmissionDetail (pdf)](https://github.com/TheAlgorithms/C/files/7390939/Old-TwoSum-SubmissionDetail-LeetCode.pdf) [New SubmissionDetail (pdf)](https://github.com/TheAlgorithms/C/files/7390940/New-TwoSum-SubmissionDetail-LeetCode.pdf) #### References [Hacktoberfest issue](https://github.com/TheAlgorithms/C/issues/249) #### Checklist - [x] Added description of change - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: faster and more documented solution of the leetcode TwoSum problem <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/896"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:20:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1416