Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged array
0
votes
1
answer
1
Array P&DS | Time Complexity
What is the worst case time complexity of an efficient algorithm (in order of n) to get the last index for an actually filled element, in an array, given the condition that we may not fill the entire initialized array with elements, the array is initialized as “int a[n]; ” [Array may not be filled in a sorted order] O(n) O(1) O(log(n)) O($n^2$)
Souvik33
asked
in
DS
Dec 17, 2022
by
Souvik33
273
views
algorithms
time-complexity
array
0
votes
1
answer
2
Algorithms
What is the logic applied here.
Overflow04
asked
in
Algorithms
Oct 20, 2022
by
Overflow04
162
views
algorithms
test-series
array
1
vote
2
answers
3
Ace test series 2023
The return value of ace(4) is int ace(int a) { int x=1; static int k=1; if(a==1) return x; for(;k<a;++k) x=x+ace(k)*ace(a-k); return x; } A.15 B.4 C.10 D.Error
Sazia Tabassum
asked
in
Programming
Oct 14, 2022
by
Sazia Tabassum
250
views
ace-test-series
programming-in-c
array
0
votes
2
answers
4
data structure using c, by yaswant kanethkar
Explain the method to calculate the address of an element in an array. A 25*4 matrix array DATA is stored in memory in ‘row-major order’. If base address is 200 and 4 words per memory cell. Calculate the address of DATA [12, 3]…??
akama
asked
in
DS
Sep 11, 2022
by
akama
427
views
data-structures
array
matrix
0
votes
0
answers
5
PhD Admissions Written Test (Basic)
Let A be a sorted array of distinct integers of length n. Design an algorithm to find an index i such that A[i] = i if such an index exists. If there are more than one such indices, you may output any one ... −1. The asymptotic time complexity of the fastest algorithm for this problem, assuming the array is already available, is Θ ______________________________
rsansiya111
asked
in
Others
Sep 10, 2022
by
rsansiya111
204
views
sorting
array
time-complexity
asymptotic-notations
3
votes
1
answer
6
Data Structures,Algorithms&Applications In c++ page-249 Q-34
In an n x n C-matrix, all terms other than those in row 1, row n, and column 1 are zero. A C-matrix has at most 3n-2 nonzero terms. A C-matrix may be compactly stored in one-dimensional array by first storing row 1, then row n, and then the remaining column 1 elements. Calculate the location of an element A(i, j)?
Abhi_1o1
asked
in
DS
Aug 26, 2022
by
Abhi_1o1
315
views
data-structures
array
matrix
0
votes
0
answers
7
Best Open Video Playlist for Arrays Topic | Data structures
Please list out the best free available video playlist for Arrays from Data structures as an answer here (only one playlist per answer). We'll then select the best playlist and add to GO classroom video lists. You can add any ... but standard ones are more likely to be selected as best. For the full list of selected videos please see here
makhdoom ghaya
asked
in
Study Resources
Aug 16, 2022
by
makhdoom ghaya
78
views
go-classroom
missing-videos
free-videos
video-links
array
4
votes
1
answer
8
GO Classes Scholarship 2023 | Test | Question: 19
Consider the following declaration of variable a in C program (row-major order). int a[3][4][5]; Which of the following(s) is/are TRUE about pointer arithmetic operations? Value of $a[2]-a[1]$ is $4$ Value of $a[1][2]-a[0][3]$ is $15$ Value of $a[0][10]-a[1][0]$ is $30$ Value of $a[2]-a[1]$ is $5$
GO Classes
asked
in
Programming
Aug 7, 2022
by
GO Classes
351
views
goclasses-scholarship-test1
goclasses
programming
programming-in-c
array
multiple-selects
2-marks
3
votes
1
answer
9
GO Classes Scholarship 2023 | Test | Question: 21
Let arrays OneD and TwoD are declared as follows as: int OneD[10]; int TwoD[4][5]; Which of the following is/are valid syntax to pass OneD and TwoD to some function fun()? A syntax is valid if it gets compiled without any warning or error. void fun(int OneD[10]); void fun(int OneD[5]); void fun(int TwoD[][5]); void fun(int **TwoD);
GO Classes
asked
in
Programming
Aug 7, 2022
by
GO Classes
346
views
goclasses-scholarship-test1
goclasses
programming
programming-in-c
array
multiple-selects
1-mark
1
vote
2
answers
10
GO Classes Scholarship 2023 | Test | Question: 29
In which of the following case(s) character array must end with null char? char c[] = "GATE"; char c[] = {'2', '0', '2', '3'}; char c[4] = "GATE"; char c[16] = "2023";
GO Classes
asked
in
Programming
Aug 7, 2022
by
GO Classes
489
views
goclasses-scholarship-test1
goclasses
programming
programming-in-c
array
multiple-selects
1-mark
4
votes
3
answers
11
GO Classes Scholarship 2023 | Test | Question: 30
Consider the following C code fragement - #include<stdio.h> int main() { char t[] = "abcdefghij"; int *p = t; p+=2; char *c = (char *)p; printf("%c", *c); } Which of the following is/are correct? The ... $\textsf{ i "}$ (without quotes).
GO Classes
asked
in
Programming
Aug 7, 2022
by
GO Classes
448
views
goclasses-scholarship-test1
goclasses
programming
programming-in-c
array
pointers
multiple-selects
1-mark
2
votes
3
answers
12
Array
An array VAL[1..15][1..10] is stored in the memory with each element requiring 4 bytes of storage. If the base address of array VAL is 1500, determine the location of VAL[12][9] when the array VAL is stored in Row wise. ?
Nitesh_Yadav
asked
in
Programming
Jul 3, 2022
by
Nitesh_Yadav
819
views
array
programming-in-c
data-structures
0
votes
0
answers
13
how to Implement arrays using linked lists (and vice versa)?
how to Implement arrays using linked lists (and vice versa)? Like if we implement a linked list using an array .then we can maintain two arrays. In one array we will maintain the data and in another array, we will store ... it accordingly, whether this is correct? Also how to implement an array using a linked list..is this even possible?
samarpita
asked
in
DS
May 21, 2022
by
samarpita
285
views
algorithms
array
linked-list
data-structures
Page:
1
2
3
4
5
6
...
9
next »
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Central Pollution Control Board CPCB Various Post Recruitment 2023
MP Rajya Sahkari Apex Bank Various Post Recruitment 2023
NITIE MUMBAI throgh GATE
PGCIL recruitment 2023 – Apply Online For 138 Posts through GATE
Admission guidance for GATE CSE 2023
Subjects
All categories
General Aptitude
(2.6k)
Engineering Mathematics
(9.4k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.7k)
Non GATE
(1.3k)
Others
(2.5k)
Admissions
(655)
Exam Queries
(848)
Tier 1 Placement Questions
(17)
Job Queries
(77)
Projects
(9)
Unknown Category
(866)
Recent questions tagged array
Recent Blog Comments
Please upload updated previous year question...
The last hardcopy that was made was for GATE 2022...
overall only 3 post .no post for gen male
for gen GS in the range of 720-750 approx.
can we get 2023 hark copy from amazon?