quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryعلوم الحاسوب schoolبكالوريوس event_available2026-07-15

السؤال

Transcribed Image Text:

Using Big-O notation, express the time complexity of the code segments: 1) for (int i=0; i<5; i++) { for (int j=0;j<10; j++) { } System.out.print(j); 2) for (int i = 0; i < n; i++) { for (int j=0; j<n*n; j++) { System.out.print("tricky!"); } } 3) i=n; while(i > 1) { j=i; while (j < n) { k=0; while (k<n) { k = k + 2; } } jj2;) 1-1/2;

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top