Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged sub-set
0
votes
0
answers
1
Subset Doubt
I know it may be silly but, Say i have a set A = {1,2,3,4,5} then for subset we use ⊆ and for membership we use ∈. I can say 2 ∈ A , but 2 ⊆ A its wrong because 2 is an element of set its not a set. Can we Say {2} ⊆ A. ??? And for ϕ what to use :- We know ϕ is a subset of every set So :- ϕ ⊆ A. its correct right ? if its correct then ϕ ∈ A is it correct ?
I know it may be silly but,Say i have a set A = {1,2,3,4,5} then for subset we use ⊆ and for membership we use ∈.I can say 2 ∈ A , but 2 ⊆ A its wrong ...
Na462
450
views
Na462
asked
Jun 2, 2018
Set Theory & Algebra
discrete-mathematics
sub-set
+
–
5
votes
4
answers
2
Time complexity and output
#include <stdio.h> #define N 3 int main() { int array[N] = {1,2,3}; int i,j; for ( i=1; i<(1<<N); i++) { for( j=0; j<N; j++) { if((1<<j)&i) { printf("%d", array[j]); } } printf("\n"); } return 0 ... $N = n \;\; , n \; \text{ is a positive integer }$ ? B. What is the output? C. What will be the complexity when $N$ is large.
#include <stdio.h #define N 3 int main() { int array[N] = {1,2,3}; int i,j; for ( i=1; i<(1<<N); i++) { for( j=0; j<N; j++) { if((1<<j)&i) { printf("%d", array[j]); } } p...
dd
1.8k
views
dd
asked
Dec 17, 2016
Programming in C
time-complexity
bitwise
programming-in-c
combinatory
summation
sub-set
binomial-theorem
+
–
1
votes
1
answer
3
Set |Subset | Volume 1 Q6
Question If A and B are subsets of set X = { 1,2,3, ... 99,100 } and A # B denote the set of all elements of X which belogs to exactly A or B . Total number of subsets of X such that A#B = { 2,4,6,.. 98,100} is _____ My approach Every ... ie Every even number can appear either in only A or in only B Every odd number can appear only in A$\cap$ B how to proceed further ...?
QuestionIf A and B are subsets of set X = { 1,2,3, ... 99,100 } and A # B denote the set of all elements of X which belogs to exactly A or B . Total number of subsets o...
pC
1.3k
views
pC
asked
Jun 19, 2016
Set Theory & Algebra
set-theory
sub-set
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register