Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inner for optimization #2

Closed
ibrahimyilmaz opened this issue Nov 5, 2021 · 1 comment
Closed

Inner for optimization #2

ibrahimyilmaz opened this issue Nov 5, 2021 · 1 comment

Comments

@ibrahimyilmaz
Copy link

Merhabalar,

for (int j = 0; j < V.size()- i-1; j++)

Bu satir boyle olmali cunku komsu karsilastirmasi yaparken sorted olmayan en buyuk deger saga gidiyor.

for (int j = 0; j < V.size()- 1; j++) {

@capogluuu
Copy link
Owner

Açtığınız issue için teşekkür ederiz. Ders kapsamında issue nedir, neden açılır gibi programlama açısından güzel sorulara, bu issue ile güzel bir yanıt oluşturabiliriz. Teşekkürler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants