Convert array into Zig-Zag fashion | GeeksforGeeks

  Рет қаралды 43,333

GeeksforGeeks

GeeksforGeeks

7 жыл бұрын

Explanation for the article: www.geeksforgeeks.org/convert-...
This video is contributed by Harshit Jain.

Пікірлер: 13
@GaneshKumar-dw8gr
@GaneshKumar-dw8gr 4 жыл бұрын
Is it secret problem?? Why audio is low..
@mphacks3551
@mphacks3551 2 жыл бұрын
yes in my laptop infect not getting low sound also he just explaining himself
@sonukushwaha9528
@sonukushwaha9528 Жыл бұрын
😂
@sonukushwaha9528
@sonukushwaha9528 Жыл бұрын
😂
@ShivamKumar-cv7jv
@ShivamKumar-cv7jv 3 жыл бұрын
every geeks for geeks video is like listening the geeks for geeks editorial,what a waste.
@WowPlusWow
@WowPlusWow 3 жыл бұрын
This wont work if there are duplicate elements
@rahulshrivastava3040
@rahulshrivastava3040 6 жыл бұрын
There are many solution possible and for some array, no solution. The question formulation is wrong.
@sounavapal762
@sounavapal762 5 жыл бұрын
for any aray to be exactly zigzag,the input elements should be such,that the elements form a zigzag array. Theres nothing wrong with the code,if it gets proper input,itll work perfectly.
@gay-bitchass-nigga3036
@gay-bitchass-nigga3036 2 жыл бұрын
Speak in Lower Volume please,I am deaf now after your LOUD volume.
@Ajeetsingh-uz4fp
@Ajeetsingh-uz4fp 6 жыл бұрын
worng code....
@adityapaithon6499
@adityapaithon6499 6 жыл бұрын
wrong*
@wecan2729
@wecan2729 3 жыл бұрын
class Solution{ public: // Program for zig-zag conversion of array void zigZag(int arr[], int n) { int temp=true; for(int i=0;iarr[i+1]) { swap(arr[i],arr[i+1]); } //temp=true; } else { if(arr[i]
Zig Zag Array (spiral order array)
10:44
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 40 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 3,5 МЛН
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 9 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 105 МЛН
Linked list in Java - 72: Rearrange a linked list in zig-zag manner
9:35
Coding Simplified
Рет қаралды 4,1 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 87 М.
Check for balanced parentheses in an expression | GeeksforGeeks
4:16
Trick for spiral matrix traversal
10:12
Techdose
Рет қаралды 196 М.
Majority Element | GeeksforGeeks
12:30
GeeksforGeeks
Рет қаралды 54 М.
Print Matrix Diagonally (Diagonal order)
13:22
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 109 М.
Count Strictly Increasing Subarrays | GeeksforGeeks
10:00
GeeksforGeeks
Рет қаралды 21 М.
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН