'Coding has over 700 languages', '67% of programming jobs aren’t in the technology industry', 'Coding is behind almost everything that is powered by electricity'

# Post a new discussion

Ninja Tip!

Descriptive titles get more views and replies. For eg. 'How do you prepare for data structures?' instead of 'data structures'

All discussions

Recent Posts

Top Posts

All tags
CodeStudio Library | Introduction to Computer Networks
Guides and resources
A computer network is a collection of interconnected computers and other devices that communicate with each other.
Published On 28-Feb-2024
0 views
1 replies
CodeStudio Library | Comments in WordPress
Guides and resources
This blog helps you clear your understanding of what comments are and how to enable them in WordPress.
Purswani Dineshkumar
Published On 27-Feb-2024
10 views
2 replies
CodeStudio Library | What is Search Engine Optimization?
Guides and resources
In this blog, we will learn about Search Engine Optimization(SEO).
rjt_007
Published On 26-Feb-2024
8 views
1 replies
Secret Cipher Event | 26 Feb, 2024 | Post Contest Discussion
Contests and hackathons

Hey Ninjas!

This is a post to ask doubts and share your logic for solving questions from Secret Cipher Event! 😄

If you face any issues during the contest, do let us know by replying below. ✌️

How was your experience in the contest or got any feedback? Let us know here (link)

Codestudio
Published On 26-Feb-2024
205 views
0 replies
Tapglobe coding test | 25 Feb, 2024 | Post Contest Discussion
Contests and hackathons

Hey Ninjas!

This is a post to ask doubts and share your logic for solving questions from Tapglobe coding test! 😄

If you face any issues during the contest, do let us know by replying below. ✌️

How was your experience in the contest or got any feedback? Let us know here (link)

Codestudio
Published On 25-Feb-2024
50 views
0 replies
Rotate the image by 90 degree .. Leetcode problem number -- 48
Support and feedback

class Solution {

public:

void rotate(vector<vector<int>>& matrix) {

int row = matrix.size();

int col = matrix[0].size();

vector<int>ans;

// intilize indexes....

int firstrow = 0;

int firstcol = 0;

int lastrow = row - 1;

int lastcol = col -1;

while(firstcol < col){

for(int index = lastrow ; index >= firstrow ;  index--){

ans.push_back(matrix[index][firstcol]);

}

firstcol++;

}

}

};

Input: matrix = [[1,2,3],[4,5,6],[7,8,9]] Output: [[7,4,1],[8,5,2],[9,6,3]]

what is the problem in my code >>>

Kunall23err
Published On 25-Feb-2024
17 views
0 replies
CodeStudio Library | Batch Operating System
Guides and resources
You will learn about the batch operating system, its kinds, how it works, and its benefits and drawbacks in this article.
Published On 24-Feb-2024
13 views
1 replies
KICCS-D-HACK 24.7 Round 2 | 24 Feb, 2024 | Post Contest Discussion
Contests and hackathons

Hey Ninjas!

This is a post to ask doubts and share your logic for solving questions from KICCS-D-HACK 24.7 Round 2! 😄

If you face any issues during the contest, do let us know by replying below. ✌️

How was your experience in the contest or got any feedback? Let us know here (link)

Codestudio
Published On 24-Feb-2024
42 views
0 replies
CodeStudio Library | How To Ace Dynamic Programming in Competitions
Guides and resources
Published On 24-Feb-2024
10 views
1 replies
Merging two sorted Arrays
Interview problems

import java.io.*;

import java.util.* ;

public class Solution {

public static int[] ninjaAndSortedArrays(int arr1[], int arr2[], int m, int n) {

// Write your code here.

ArrayList<Integer> list = new ArrayList<>();

for(int i =0;i<arr1.length-arr2.length;i++)

for(int i : arr2)

int index = 0;

Collections.sort(list);

for(int i : list)

{ arr1[index++] = i;}

return arr1;

}

}

Harsha2004
Published On 23-Feb-2024
71 views
0 replies