Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • Software and Tools
    • School Learning
    • Practice Coding Problems
  • Go Premium
  • Guidelines to Write Experiences
  • Write Interview Experience
  • Write Work Experience
  • Write Admission Experience
  • Write Campus Experience
  • Write Engineering Experience
  • Write Coaching Experience
  • Write Professional Degree Experience
  • Write Govt. Exam Experiences
Open In App
Next Article:
Accenture Recruitment Process
Next article icon

IBM Recruitment Process

Last Updated : 12 Mar, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply.

ibm-copy
IBM Recruitment Process

Table of Content

  • About Company:
  • Recruitment Process:
  • Academic Criteria:
  • Written Round:
  • Technical Round and HR Round:

About Company:

IBM (International Business Machines Corporation) is an American multinational technology company headquartered in Armonk, New York, United States, with operations in over 170 countries. The company originated in 1911 as the Computing-Tabulating-Recording Company (CTR) and was renamed “International Business Machines” in 1924.

IBM is nicknamed Big Blues. IBM is one of the world’s largest employers, with (as of 2016) nearly 380,000 employees. In 2015, IBM was ranked 43th overall in the Forbes World’s Most Innovative Companies ranking. in 2017, IBM was ranked 5th in the Forbes World’s Most Valuable Brand ranking.

Recruitment Process:

TCS conducts 4 rounds to select freshers as Assistant System Engineers in their organization.

  • Written Round
  • Technical Round
  • HR Round

Academic Criteria:

  • 65 percent or above in B.Tech, Class X and XII.
  • There were no backlogs at the time of the interview

Written Round:

The Written round consists of two parts namely the Number Series and General Aptitude Test and English Assessment Test. For the Number Series and General Aptitude Test, there is a timer of 2.15 min. For the English Assessment Test, the total time duration is 20 minutes. There is no timer for each question as in the 1st round. Both are objective tests.

Technical Round and HR Round:

The students who clear the written round are called for a Technical Interview. There is no hard & fast rule for which questions will be asked in this round, you can expect questions on any topic depending on the panel. To clear this round you should be clear with your basics. You should be prepared with Data structures and Algorithms, DBMS, Operating Systems, Networking, OOP concepts, and a programming language of your choice. Students from branches other than CS should prepare for the other two subjects related to their branch. CS students will be expected to write codes in the interview. They also ask questions about resumes. You may be asked puzzles in this round.

Sometimes they only ask HR questions like:

  1. Tell me about Yourself
  2. Why IBM
  3. Questions form resume

Interview Experiences:

It is always beneficial if you know what it is to be there at that moment. So, to give you an advantage, we provide you with the Interview Experiences of candidates who have been in your situation earlier. Make the most of it.

  • IBM Interview Experiences

Questions Asked in IBM:

  1. File Handling in Java
  2. Explain weak entity types
  3. Sort a stack
  4. What is an attribute

Where to Apply?

  • IBM careers
  • IBM Official Website

Next Article
Accenture Recruitment Process

K

kartik
Improve
Article Tags :
  • Interview Experiences
  • IBM
Practice Tags :
  • IBM

Similar Reads

    Placements
    The placement session for any company generally has 3 – 4 rounds. The first round is the written test, consisting of Quantitative aptitude, Reasoning (logical ability), Verbal ability (English), and computer science subjects (C, C++, Data Structures, Algorithms, DBMS, OS, Networks, etc.).For some co
    4 min read
    Aptitude Questions and Answers
    Aptitude questions can be challenging, but with the right preparation and practice, you can tackle them with ease. Our comprehensive guide to aptitude questions and answers covers all the essential topics of Aptitude, including Quantitative Aptitude, Logical Reasoning, and Verbal Ability. Whether yo
    4 min read

    Quantitative Aptitude

    What are Numbers?
    Numbers are symbols we use to count, measure, and describe things. They are everywhere in our daily lives and help us understand and organize the world.Numbers are like tools that help us:Count how many things there are (e.g., 1 apple, 3 pencils).Measure things (e.g., 5 meters, 10 kilograms).Show or
    15+ min read
    Pipes and Cistern - Solved Questions and Answers
    Pipes and Cisterns deal with calculating the time taken to fill or empty a tank (cistern) using inlet pipes and outlet pipes.A pipe represents an inlet (filling) or outlet (draining) connected to a cistern (or tank/reservoir) is a container that holds liquid.Pipes and Cisterns questions and answers
    12 min read
    Boats and Streams -Solved Questions and Answers
    Boats and Streams deals with calculating the speed and travel time of a boat moving in a river or stream, where the water current affects its movement.Downstream Motion: When the boat moves with the current.Upstream Motion: When the boat moves against the currentFormula:1. Downstream Speed = Boat Sp
    8 min read
    Percentages - Solved Questions and Answers
    A percentage is a number or ratio that can be expressed as a fraction of 100.Formula:Percentage = \frac {Value Percentage}{Total Percentage}\times 100 Percentage questions and answers are provided below for you to learn and practice.Question 1: A defect-finding machine rejects 0.085% of all cricket
    8 min read
    Ratio and Proportion - Solved Questions and Answers
    A ratio compares two quantities by division, showing their relative sizes. The proportion states that the two ratios are equal.Ration and proportion questions and answers are provided below for you to learn and practice.Question 1: Is the ratio 5:10 proportional to 1:2?Solution:5:10 divided by 5 giv
    6 min read
    Mixture and Alligation - Solved Questions and Answers
    Mixture is a combining two or more ingredients to create a new blend.Alligation is used to determine the proportion in which two or more ingredients with different values (such as prices, concentrations, or qualities) must be mixed to achieve a desired average value.Mixture and Alligation questions
    4 min read
    Average in Maths
    An average is the middle value of a group of numbers. The average is calculated by adding up all the numbers in a group and dividing the total by how many of numbers there are. The image below shows three rows of apples with 6, 11, and 7 apples, and if we take the average of all three rows, we get 8
    15 min read
    Ages - Solved Questions and Answers
    Problems on Ages are quantitative aptitude questions that involve calculating the current, past, or future ages of individuals based on given relationships and time intervals. Problems on Ages questions and answers are provided below for you to learn and practice.Question 1: A’s age after 15 years w
    5 min read
    Profit and Loss - Aptitude Questions and Answers
    Profit is the financial gain earned when total revenue exceeds total expenses, and loss is the financial deficit incurred when total expenses exceed total revenue. Formula:Profit = Selling Price – Cost PriceLoss = Cost Price – Selling PriceProfit and Loss questions and answers are provided below for
    6 min read
    Simple Interest - Solved Questions and Answers
    Simple Interest is the interest calculated only on the original principal amount for a specific period of time.Formula:Simple Interest (SI)=\frac{P \times R \times T}{100}Where,P is the Principal amountR is annual Rate of InterestT is the Time for which principal is investedSimple Interest questions
    5 min read
    Compound Interest - Solved Questions and Answers
    Compound Interest is interest calculated on the initial principal and the accumulated interest from previous periods. It grows exponentially over time because you earn "interest on interest."Formula:A =P(1+ \frac{R}{n})^{nT}Where:A = Final amount (Principal + Interest)P = Principal amount (initial i
    6 min read
    Mensuration 2D - Solved Questions and Answers
    2D mensuration focuses on plane figures (flat shapes) like squares, rectangles, circles, triangles, etc.The table below shows some important formulas of 2D mensuration.2D- ShapeAreaPerimeterSquarea24aRectanglel × b2 (l + b)Circleπr2 2πrScalene Triangle√ [s (s-a) (s-b) (s-c)]Where, s = (a + b + c)/2a
    5 min read
    Mensuration 3D - Solved Questions and Answers
    3D Mensuration deals with the measurement of three-dimensional (solid) shapes, including their volume, surface area, lateral surface area, and diagonals. 3D shapes have length, width, and height/depth, making them occupy space.For formulas you can refer to Mensuration 3D Formulas3D Mensuration quest
    4 min read
    Height and Distances - Solved Questions and Answers
    Height and Distance is a branch of trigonometry that calculates vertical heights, horizontal distances, and angles of elevation or depression using right-angled triangles and trigonometric ratios.Angle of Elevation: Upward angle from horizontal to an object above.Angle of Depression: Downward angle
    6 min read
    Progression - Aptitude Questions and Answers
    Arithmetic Progression (AP): A sequence where each term increases or decreases by a constant difference.Geometric Progression (GP): A sequence where each term is multiplied by a constant ratio (r).Harmonic Progression (HP): A sequence where reciprocals of terms form an AP.Progression questions and a
    4 min read
    Logarithm - Solved Questions and Answers
    A logarithm is the exponent to which a base must be raised to obtain a given number. The logarithmic function is the inverse of the exponential function. It is defined as:y = logax, if and only if x = ay; for x > 0, a > 0, and a ≠ 1.Logarithm questions and answers are provided below for you to
    3 min read
    Permutation and Combination - Solved Questions and Answers
    Permutation is defined as the Arrangement of items where order matters, whereas Combination is defined as the selection of items where order doesn’t matter. Permutations and Combinations questions and answers are provided below for you to learn and practice.Question 1: How many words can be formed b
    4 min read
    Probability - Solved Questions and Answers
    Probability measures how likely an event is to occur, expressed as a value between 0 and 1.Formula:P(E)=\frac{Number of favorable outcomes}{Total possible outcome}Probability questions and answers are provided below for you to learn and practice.Question 1: Three unbiased coins are tossed. What is t
    11 min read
    Introduction to Geometry
    Geometry is the branch of mathematics that deals with the shapes, angles, dimensions, and sizes of various things that we see in everyday life. It is mainly divided into plane and solid geometry. In plane geometry, 2d shapes such as triangles, squares, rectangles, and circles are studied. Whereas, i
    9 min read
    Clock - Solved Questions and Answers
    A clock is a circle (360°) divided into 12 hours (30° per hour) and 60 minutes (6° per minute). Formulas:Minute Hand: Moves 6° per minute.Hour Hand: Moves 0.5° per minute (30° per hour).Angle Between Hands (θ) =∣30H−5.5M∣ where, H = hourM = minutes)Clock questions and answers are provided below for
    5 min read
    Calendar - Solved Questions and Answers
    A calendar is a system of organizing days, weeks, months, and years to track time.➤ 1 Year = 365 days (366 in a leap year).➤ Leap Year Rule(Divisible by 4 but not by 100 (unless divisible by 400).➤ Odd days = Extra days beyond complete weeks.1 year (non-leap) → 11 year (leap) → 2100 years → 5400 yea
    7 min read
    Coding Decoding - Solved Questions and Answers
    Coding-Decoding is a reasoning process where letters, numbers, or symbols are transformed using specific rules, and the task is to identify the pattern to encode/decode given information.Coding-Decoding questions and answers are provided below for you to learn and practice.Question 1: If EARTH is wr
    4 min read
    Races and Games - Solved Questions and Answers
    Races and Games problems involve calculating and comparing speeds, distances, or time taken by participants in competitive scenarios like running races or sports.Races and Games questions and answers are provided below for you to learn and practice.Question 1: In a 100 m race, A beats B by 28 meters
    5 min read
    Data Interpretation - Solved Questions and Answers
    Data interpretation questions are a key component of the Quantitative Aptitude section, requiring the ability to analyze and interpret various forms of data such as tables, graphs, and charts. These questions often focus on concepts like percentages, ratios, and proportions, which can pose a challen
    7 min read

    Logical Reasoning

    Number Series
    A number series is an ordered sequence of numbers arranged according to a specific mathematical rule or pattern. Each number in the series relates to the others through consistent operations like addition, subtraction, multiplication, division, exponents, or more complex relationships.Number Series
    5 min read
    Alphanumeric Series
    An alphanumeric series is formed by combining both alphabets and numbers. Sometimes it also includes symbols such as @,&,#, etc. So we can say that the Alphanumeric series is the combination of alphabets, numbers, and symbols. This is an important topic that needs to be covered for the Logical R
    3 min read
    Analogy
    Analogy is a topic of Logical Reasoning where two things are compared and conclusions are drawn based on their similarities. Analogies are asked in various forms. These questions are also very important for the Verbal Ability section of competitive examinations like SSC, Banking, RBI, etc. Analogy r
    3 min read
    Making Judgements
    Judgement questions are part of the Logical Reasoning section in most of the competitive examinations. Judgement questions are solved by combining the knowledge given in the question and through common sense. Judgement questions must be prepared comprehensively as this is a scoring section in the re
    5 min read
    Course of Action
    Course of Action is an important topic that needs to be covered for the Logical Reasoning section of the competitive examinations. It tests the analytical and logical ability of a candidate. The following article covers the concepts, questions, and answers related to the topic.Practicing Statements
    2 min read
    Statement and Conclusion
    The Statement and Conclusion section is a part of logical and analytical reasoning, which is frequently asked in all competitive exams. Statement and conclusion questions are a set of statements followed by conclusions. The general idea to solve such questions is just to understand the theme of the
    2 min read
    Cause and Effect: Logical Reasoning Questions and Answers
    Cause and Effect Reasoning Section is one of the most tricky topics of Logical Reasoning section. The questions which come in this section are very easy in nature but they are designed in such a way that they are tricky. Candidates often get confused while solving these problems. It is asked in many
    10 min read
    Statement and Argument
    Argument is a very important part of analytical reasoning, expressing different opinions for or against something. In competitive examinations, different types of questions are asked from this section in the form of inferences, assumptions, courses of action, syllogisms, etc. This is why argument is
    3 min read
    Statement and Assumption
    Statement and Assumption in Logical Reasoning is the most generally asked topic in competitive exams. The fundamental behind such topics is to test the applicant's critical thinking skills. There are a number of statement and assumption questions asked in the various exams, like SSC, Banking, etc. O
    3 min read
    Venn Diagram
    Venn diagrams are visual tools used to show relationships between different sets. They use overlapping circles to represent how sets intersect, share elements, or stay separate. These diagrams help categorize items, making it easier to understand similarities and differences. In mathematics, Venn di
    14 min read

    Logical Reasoning: Verbal Reasoning

    Placement | Reasoning | Blood Relationship
    While solving the questions on blood relationship, one should be familiar with basic concepts like various relations. Mother's or Father's Brother - Uncle Mother's or Father's Sister - Aunt Mother's or Father's Father - Grand Father Mother's or Father's Mother - Grand Mother Grand Father's or Grand
    2 min read
    Syllogism: Verbal Reasoning Questions and Answers
    Syllogism is an essential part of various competitive exams in India. It is generally a part of the Verbal Ability section, and plays a vital role in examinations sharing 3 or 4 marks out of the total marks. There are many ways of reaching the final solution to questions of syllogisms. The most popu
    5 min read
    Cubes: Verbal Reasoning Questions and Answers
    Cubes is an important topic that needs to be prepared for the Logical Reasoning section of the competitive examinations. Candidates needs to practice questions in order to score well in these exams. The following article covers concepts, formulas and questions that are often asked. So try and practi
    4 min read
    Seating Arrangement : Aptitude Questions and Answers
    Seating arrangement is the logical arrangement of people or objects. This concept involves arrangement of people in many possible ways. Seating Arrangement is a common category of Logical Reasoning that is asked in competitive exams.In these types of questions, you will have to arrange a group of pe
    6 min read
    Puzzles
    Puzzles are commonly asked in exams and interviews to test logical and analytical thinking. Here is a list of most asked Puzzles divided into four categories as per examination pattern. 1. Analytical / Mathematical PuzzlesPuzzle TitleAsked in CompanyFind ages of daughtersGoogle, MicrosoftCalculate t
    4 min read
    Data Sufficiency in Logical Reasoning
    Data Sufficiency in Logical Reasoning is an important topic to prepare for competitive exams in India. It tests the logical, analytical and thinking capacity or ability of a candidate. Candidates need to practice the questions for scoring well in the examinationThe following article contains various
    6 min read

    Logical Reasoning: Non-Verbal Reasoning

    Mirror Image: Verbal Reasoning
    Mirror Image Questions are mostly asked in the Logical Reasoning section of competitive examinations. So candidates need to prepare well by practicing some Mirror Images Questions given below. When we see ourselves in a mirror or see anything in a mirror, the way we see ourselves in a mirror or the
    5 min read
    Dice
    A Dice is a cube with 6 faces each of which contains a digit or a pattern denoting a digit from 1 to 6. It is, however, not uncommon for the faces of a dice to have different kinds of symbols. These puzzles based on dice are quite common in aptitude sections of various tests including GATE. Therefor
    5 min read

    Verbal Ability

    Spellings - Solved Questions and Answers
    Spelling Correction is an important topic that needs to be practiced well for the verbal ability section of the competitive exams. Spelling questions and answers are provided below for you to learn and practice.Directions (1-10): Following are the questions having a group of words. You have to choos
    6 min read
    Sentence Completion
    Sentence completion is a type of question found in the Verbal Ability section of many competitive tests and exams. The aim is to determine the ability to choose the right word or words to complete a sentence. To answer this type of question as quickly and accurately as possible, we should practice s
    2 min read
    Ordering Of Sentences: Verbal Ability Questions
    Re-arrangement questions are of two types: Sentence re-arrangement and passage re-arrangement. In sentence re-arrangement, we are given a sentence whose words/group of words are jumbled and we have to make a meaningful sentence out of it. In passage re-arrangement, we are given multiple sentences an
    6 min read
    Reading Comprehension
    Comprehension passages are sure-shot scoring questions that are usually asked in competitive examinations. Candidates must practice questions on this topic to score well in the exams. Reading Comprehension is a fundamental skill often tested as part of Verbal Ability in competitive examinations. It
    6 min read
    Idioms and Phrases
    Idioms and phrases are an important concept of English comprehension, which is often asked in competitive exams. Candidates preparing for competitive exams or interviews must practice the questions of idioms and phrases to score well in the Verbal Ability section. In the following article, we are go
    4 min read
    Definite and Indefinite Articles ( A, An, The)
    Definite and Indefinite Articles ( A, An, The)Table of ContentWhat is an Article? Definite and Indefinite ArticlesWhat are Definite Articles?What are Indefinite Articles?Definite and Indefinite Articles ExamplesDifference Between Definite and Indefinite Articles FAQ's Definite and Indefinite Article
    7 min read
    Preposition
    Prepositions are considered one of the essential topics of the English language. They help in coordinating the usage of words and phrases. These are called prepositions because they relate to something before the word they follow. The below article will deal with the rules of prepositions in the Eng
    10 min read
    Adjective - Definition, List, Types, Uses and Examples
    When we discuss Adjectives, it means those words which well describe a Noun or a Place, Person, Thing, or Idea. An adjective is the only word that can create a major difference between the two.Let's discuss this topic in detail and also bookmark it to get back to the article whenever we want to revi
    7 min read

    Data Interpretation

    Data Interpretation - Solved Questions and Answers
    Data interpretation questions are a key component of the Quantitative Aptitude section, requiring the ability to analyze and interpret various forms of data such as tables, graphs, and charts. These questions often focus on concepts like percentages, ratios, and proportions, which can pose a challen
    7 min read

    Company wise Preparation

    Company Wise Interview Preparation
    When diving into the tech job scene, it's valuable to know that each tech company has its own way of hiring. Whether they're into products, services, or analytics, they all have their unique styles.In the preparation guide, we've rounded up popular articles, problem-solving tips, and even a few vide
    1 min read
    Experienced Interview Experiences Company-Wise
    Recent Experienced Interview experience ! All Recent Interview ExperiencesAdobeAmazonAphonsoArcesiumAristocrat TechnologiesBankBazaar.comBritish TelecomCadenceCiscoCloud LendingD E ShawExpediaEze SoftwareFreechargeGoldman SachsGrouponHCLHuaweiIntuitJabongMake My TripMedlifeMentor GraphicsMicrosoftMo
    8 min read

    Recruitment Process

    TCS Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply.Table of Content About Company:Recruitment Process:Written Round:Technical Round:Mana
    6 min read
    Infosys Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. Table of Content About Company:Recruitment Process:Online Test:Technical Round:HR Ro
    2 min read
    Wipro Recruitment Process
    About Company: Wipro Limited (Western India Palm Refined Oils Limited or more recently, Western India Products Limited) is an Indian Information Technology Services corporation headquartered in Bengaluru, India. The company was incorporated on 29 December 1945 in Amalner, Maharashtra by Mohamed Prem
    3 min read
    IBM Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. IBM Recruitment Process Table of Content About Company:Recruitment Process:Academic
    3 min read
    Cognizant Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. Table of Content About Company:Recruitment Process:Academic Criteria:Written Round:T
    3 min read
    Accenture Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. Table of Content About Company:Jobs Offered at AccentureAccenture Eligibility Criter
    6 min read
    Swiggy Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. Table of Content About Company :Recruitment Process :Academic Criteria :Written Roun
    3 min read
    Walmart Labs Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. Table of Content About Company:Recruitment Process:Academic Criteria:Online Round:Te
    3 min read
    Qualcomm Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. Table of Content About Company:Recruitment Process:Academic Criteria:Written Round:T
    3 min read
    MakeMyTrip Recruitment Process
    This article will give you information about the company, its recruitment process, sample questions that have been asked previously, lots of experiences shared by other aspirants, and the portal where you can apply. MakeMyTrip Recruitment Process Table of Content About Company:Recruitment Process:Ac
    3 min read
`; $(commentSectionTemplate).insertBefore(".article--recommended"); } loadComments(); }); }); function loadComments() { if ($("iframe[id*='discuss-iframe']").length top_of_element && top_of_screen articleRecommendedTop && top_of_screen articleRecommendedBottom)) { if (!isfollowingApiCall) { isfollowingApiCall = true; setTimeout(function(){ if (loginData && loginData.isLoggedIn) { if (loginData.userName !== $('#followAuthor').val()) { is_following(); } else { $('.profileCard-profile-picture').css('background-color', '#E7E7E7'); } } else { $('.follow-btn').removeClass('hideIt'); } }, 3000); } } }); } $(".accordion-header").click(function() { var arrowIcon = $(this).find('.bottom-arrow-icon'); arrowIcon.toggleClass('rotate180'); }); }); window.isReportArticle = false; function report_article(){ if (!loginData || !loginData.isLoggedIn) { const loginModalButton = $('.login-modal-btn') if (loginModalButton.length) { loginModalButton.click(); } return; } if(!window.isReportArticle){ //to add loader $('.report-loader').addClass('spinner'); jQuery('#report_modal_content').load(gfgSiteUrl+'wp-content/themes/iconic-one/report-modal.php', { PRACTICE_API_URL: practiceAPIURL, PRACTICE_URL:practiceURL },function(responseTxt, statusTxt, xhr){ if(statusTxt == "error"){ alert("Error: " + xhr.status + ": " + xhr.statusText); } }); }else{ window.scrollTo({ top: 0, behavior: 'smooth' }); $("#report_modal_content").show(); } } function closeShareModal() { const shareOption = document.querySelector('[data-gfg-action="share-article"]'); shareOption.classList.remove("hover_share_menu"); let shareModal = document.querySelector(".hover__share-modal-container"); shareModal && shareModal.remove(); } function openShareModal() { closeShareModal(); // Remove existing modal if any let shareModal = document.querySelector(".three_dot_dropdown_share"); shareModal.appendChild(Object.assign(document.createElement("div"), { className: "hover__share-modal-container" })); document.querySelector(".hover__share-modal-container").append( Object.assign(document.createElement('div'), { className: "share__modal" }), ); document.querySelector(".share__modal").append(Object.assign(document.createElement('h1'), { className: "share__modal-heading" }, { textContent: "Share to" })); const socialOptions = ["LinkedIn", "WhatsApp","Twitter", "Copy Link"]; socialOptions.forEach((socialOption) => { const socialContainer = Object.assign(document.createElement('div'), { className: "social__container" }); const icon = Object.assign(document.createElement("div"), { className: `share__icon share__${socialOption.split(" ").join("")}-icon` }); const socialText = Object.assign(document.createElement("span"), { className: "share__option-text" }, { textContent: `${socialOption}` }); const shareLink = (socialOption === "Copy Link") ? Object.assign(document.createElement('div'), { role: "button", className: "link-container CopyLink" }) : Object.assign(document.createElement('a'), { className: "link-container" }); if (socialOption === "LinkedIn") { shareLink.setAttribute('href', `https://www.linkedin.com/sharing/share-offsite/?url=${window.location.href}`); shareLink.setAttribute('target', '_blank'); } if (socialOption === "WhatsApp") { shareLink.setAttribute('href', `https://api.whatsapp.com/send?text=${window.location.href}`); shareLink.setAttribute('target', "_blank"); } if (socialOption === "Twitter") { shareLink.setAttribute('href', `https://twitter.com/intent/tweet?url=${window.location.href}`); shareLink.setAttribute('target', "_blank"); } shareLink.append(icon, socialText); socialContainer.append(shareLink); document.querySelector(".share__modal").appendChild(socialContainer); //adding copy url functionality if(socialOption === "Copy Link") { shareLink.addEventListener("click", function() { var tempInput = document.createElement("input"); tempInput.value = window.location.href; document.body.appendChild(tempInput); tempInput.select(); tempInput.setSelectionRange(0, 99999); // For mobile devices document.execCommand('copy'); document.body.removeChild(tempInput); this.querySelector(".share__option-text").textContent = "Copied" }) } }); // document.querySelector(".hover__share-modal-container").addEventListener("mouseover", () => document.querySelector('[data-gfg-action="share-article"]').classList.add("hover_share_menu")); } function toggleLikeElementVisibility(selector, show) { document.querySelector(`.${selector}`).style.display = show ? "block" : "none"; } function closeKebabMenu(){ document.getElementById("myDropdown").classList.toggle("show"); }
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences