two-pointer

[US]/[ˈtuː ˈpɔɪntə]/
[UK]/[ˈtuː ˈpɔɪntər]/
Frequency: Very High

Translation

n. یک فن در علوم کامپیوتر که برای حل مسائل با حفظ دو نشانگر برای پیمایش یک ساختار داده (مثلاً یک آرایه یا لیست پیوندی) استفاده می‌شود.؛ یک نفر که هدایت یا راهنمایی می‌کند، به ویژه در یک زمینه ورزشی.

Phrases & Collocations

two-pointer algorithm

الگوریتم دو نشانگر

using two-pointers

استفاده از دو نشانگر

two-pointer technique

تکنیک دو نشانگر

two-pointers solve

حل با دو نشانگر

two-pointer approach

رویکرد دو نشانگر

two-pointer problem

مشکل دو نشانگر

two-pointer iteration

تکرار دو نشانگر

two-pointers move

حرکت دو نشانگر

two-pointer pattern

الگوی دو نشانگر

two-pointer solution

راه حل دو نشانگر

Example Sentences

we used a two-pointer approach to find the common elements in both arrays.

ما از روش دو نشانگر برای یافتن عناصر مشترک در هر دو آرایه استفاده کردیم.

the two-pointer technique significantly improved the algorithm's efficiency.

روش دو نشانگر به طور قابل توجهی کارایی الگوریتم را افزایش داد.

applying the two-pointer strategy allowed us to solve the problem in linear time.

استفاده از استراتژی دو نشانگر ما را قادر ساخت تا مسئله را در زمان خطی حل کنیم.

the two-pointer method is particularly useful for sorted data structures.

روش دو نشانگر به ویژه برای ساختارهای داده‌های مرتب مفید است.

we initialized two pointers, one at the beginning and one at the end of the list.

ما دو نشانگر را آماده کردیم، یکی در ابتدای لیست و یکی در انتهای لیست.

the two-pointer technique is a common pattern in algorithm design.

روش دو نشانگر یک الگوی رایج در طراحی الگوریتم‌ها است.

by moving the two pointers, we could efficiently search for the target value.

با حرکت دادن دو نشانگر، ما می‌توانستیم به طور کارآمد مقدار هدف را جستجو کنیم.

the two-pointer optimization reduced the time complexity of the algorithm.

بهینه‌سازی دو نشانگر زمان پیچیدگی الگوریتم را کاهش داد.

we implemented a two-pointer solution to find the longest common subsequence.

ما یک راه‌حل دو نشانگر برای یافتن زیردنباله مشترک طولانی‌تر پیاده‌سازی کردیم.

the two-pointer approach is a powerful tool for solving array-related problems.

روش دو نشانگر یک ابزار قدرتمند برای حل مسائل مرتبط با آرایه‌ها است.

using two pointers, we could efficiently check for duplicate elements.

با استفاده از دو نشانگر، ما می‌توانستیم به طور کارآمد برای عناصر تکراری بررسی کنیم.

Popular Words

Explore frequently searched vocabulary

Download App to Unlock Full Content

Want to learn vocabulary more efficiently? Download the DictoGo app and enjoy more vocabulary memorization and review features!

Download DictoGo Now