TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ashish Sahu
NA
141
7.2k
Add possible combinations of r elements in a given array
Aug 7 2015 10:36 AM
Hi Experts,
Add all possible combinations of r elements in a given array of size n
Example: is input array
int[] arr = new int[] { 1, 2, 3, 4, 5,6 };
output: possible combination of arrary below:
1+4+5=10
2+3+5 =10
1+2+3+4=10
6+4=10
6+1+3=10
please help me
Thanks & Regards
Ashish Kumar Sahu
Reply
Answers (
1
)
count fibonacci numbers as number of string over alphabet
error