Competitive programming questions
الذهاب إلى القناة على Telegram
Solving competitive Programming Questions one day at a time. Group link: https://t.me/competitive_programming_question Please forward it to your friends
إظهار المزيدلم يتم تحديد البلدالفئة غير محددة
6 861
المشتركون
لا توجد بيانات24 ساعات
لا توجد بيانات7 أيام
لا توجد بيانات30 أيام
أرشيف المشاركات
Solution for day 94 Question:
1’s and 2’s complement of a Binary Number
Solution and update your answers below:
http://bit.ly/q_94
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 94 Question:
1’s and 2’s complement of a Binary Number
Update your solution below:
http://bit.ly/q_94
Difficulty: Medium
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Solution for day 93 Question:
Given an array, find the continuous sub array that has the largest sum, return the sum.
Solution and update your answers below:
http://bit.ly/q_93
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 93 Question:
Given an array, find the continuous sub array that has the largest sum, return the sum.
Update your solution below:
http://bit.ly/q_93
Difficulty: Medium
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Solution for day 92 Question:
Given an array that is sorted and a target, if the target is found, return the index. If not found, return the index where it would be if it were inserted
Solution and update your answers below:
http://bit.ly/q_92
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 92 Question:
Given an array that is sorted and a target, if the target is found, return the index. If not found, return the index where it would be if it were inserted
Details and update your answers below:
http://bit.ly/q_92
Difficulty: Easy
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Solution for day 91 Question:
Given a sorted array, find the starting and ending index that matches the target
http://bit.ly/q_91
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 91 Question:
Given a sorted array, find the starting and ending index that matches the target
Update your answer below:
http://bit.ly/q_91
Difficulty: Easy
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Solution for day 90 question:
Given an array, check if it has any duplicate elements
http://bit.ly/q_90
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
If you think this group is useful, please share the group links with your friends on whatsapp, facebook.
Day 90 Question:
Given an array, check if it has any duplicate elements
Update your answer below:
http://bit.ly/q_90
Difficulty: Easy
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Solution for day 89 question:
Given a string, reverse all the vowels in the string , solution in C++
http://bit.ly/q_89
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 89 Question:
Given a string, reverse all the vowels in the string , solution in C++
http://bit.ly/q_89
Difficulty: Medium
Companies asked: Zoho
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Solution for day 88 question:
Given an array and a number n, rotate the array by n steps to its right solution in C++
http://bit.ly/q_88
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 88 Question:
Given an array and a number n, rotate the array by n steps to its right solution in C++
Update your answer below:
http://bit.ly/q_88
Difficulty: Medium
Companies Asked: Amazon MAQ Software
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Solution for day 87 question:
Create a data structure for n elements and constant operations
http://bit.ly/q_87
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 87 Question:
Create a data structure for n elements and constant operations
http://bit.ly/q_87
Difficulty: Medium
Update your answer in the comment section of the post.
Hello members, I have not posted any update on past few days. I have been busy in preparing other tutorials for you guys. We shall also start our competitive programming questions from next week. Till then you can share the group links with your friends, so that you and your friends can collectively solve the problems.
Day 86 Question:
Given a linked list, sort the list using insertion sort.
More details in the below link:
http://bit.ly/q_86
Difficulty: Medium
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
=============================
Linux command for the day:
=============================
Linux sudo
Usage:
“sudo” stands for “super user do”. This command is used to execute the commands that can only be executed by super user or root. The users with root access can be found at “/etc/sudoers” file.
Options:
-V Display the version
-l Display the commands that can be executed as a “sudo” user.
-h Display help text
-b Run the given command in background.
Example:
To install any package in centos you need to use “yum install” command. But normal user cannot run this command. Hence use “sudo yum install gvim” to install as a super user. It might prompt you to enter the password.
Solution for day 85 question:
Reorder list in to alternate nodes like first lowest and first highest.
http://bit.ly/q_85
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
Day 85 Question:
Reorder list in to alternate nodes like first lowest and first highest.
More details in the below link:
http://bit.ly/q_85
Difficulty: Medium
Like our FB Page:
http://bit.ly/fb_page_pdt
Join our FB Group to discuss about the solution:
http://bit.ly/fb_group_pdt
=============================
Linux command for the day:
=============================
Linux whoami
Usage:
“whoami” command is used to display the name of the user running the command.
Example:
whoami
