Accenture Coding Interview Questions

144 DSA problems tagged as asked in Accenture coding interviews and online assessments. Below are the first 100 of 144: 65 easy, 24 medium and 11 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Accenture DSA problems, easiest first

  1. Add Two Integers (Easy)
  2. Ant on the Boundary (Easy)
  3. Assign Cookies (Easy)
  4. Average Time of Process per Machine (Easy)
  5. Best Time to Buy and Sell Stock (Easy)
  6. Climbing Stairs (Easy)
  7. Contains Duplicate (Easy)
  8. Contains Duplicate II (Easy)
  9. Convert Sorted Array to Binary Search Tree (Easy)
  10. Count Partitions with Even Sum Difference (Easy)
  11. Count Tested Devices After Test Operations (Easy)
  12. Employees Earning More Than Their Managers (Easy)
  13. Fibonacci Number (Easy)
  14. Find Pivot Index (Easy)
  15. Find Subsequence of Length K With the Largest Sum (Easy)
  16. Find the Difference (Easy)
  17. Find the Difference of Two Arrays (Easy)
  18. Find the Highest Altitude (Easy)
  19. First Unique Character in a String (Easy)
  20. Happy Number (Easy)
  21. Intersection of Two Arrays (Easy)
  22. Intersection of Two Linked Lists (Easy)
  23. Isomorphic Strings (Easy)
  24. Largest Odd Number in String (Easy)
  25. Linked List Cycle (Easy)
  26. Longest Common Prefix (Easy)
  27. Longest Palindrome (Easy)
  28. Majority Element (Easy)
  29. Max Consecutive Ones (Easy)
  30. Maximum Area of Longest Diagonal Rectangle (Easy)
  31. Maximum Depth of Binary Tree (Easy)
  32. Maximum Number of Balls in a Box (Easy)
  33. Maximum Product of Three Numbers (Easy)
  34. Merge Sorted Array (Easy)
  35. Middle of the Linked List (Easy)
  36. Minimum Right Shifts to Sort the Array (Easy)
  37. Move Zeroes (Easy)
  38. Next Greater Element I (Easy)
  39. Number of Good Pairs (Easy)
  40. Palindrome Number (Easy)
  41. Pascal's Triangle (Easy)
  42. Perfect Number (Easy)
  43. Permutation Difference between Two Strings (Easy)
  44. Plus One (Easy)
  45. Remove Duplicates from Sorted Array (Easy)
  46. Reverse Bits (Easy)
  47. Reverse Linked List (Easy)
  48. Reverse String (Easy)
  49. Reverse String II (Easy)
  50. Reverse Vowels of a String (Easy)
  51. Rising Temperature (Easy)
  52. Roman to Integer (Easy)
  53. Rotate String (Easy)
  54. Search Insert Position (Easy)
  55. Single Number (Easy)
  56. Smallest Divisible Digit Product I (Easy)
  57. Sort Array by Increasing Frequency (Easy)
  58. Squares of a Sorted Array (Easy)
  59. Students and Examinations (Easy)
  60. Sum of Values at Indices With K Set Bits (Easy)
  61. Two Sum (Easy)
  62. Valid Anagram (Easy)
  63. Valid Palindrome (Easy)
  64. Valid Parentheses (Easy)
  65. Water Bottles (Easy)
  66. 3Sum (Medium)
  67. 4Sum (Medium)
  68. Add Two Numbers (Medium)
  69. Container With Most Water (Medium)
  70. Edit Distance (Medium)
  71. Find First and Last Position of Element in Sorted Array (Medium)
  72. Generate Parentheses (Medium)
  73. Integer to Roman (Medium)
  74. Letter Combinations of a Phone Number (Medium)
  75. Longest Palindromic Substring (Medium)
  76. Longest Substring Without Repeating Characters (Medium)
  77. Maximum Subarray (Medium)
  78. Merge Intervals (Medium)
  79. Minimum Number of Operations to Have Distinct Elements (Medium)
  80. Pow(x, n) (Medium)
  81. Remove Nth Node From End of List (Medium)
  82. Reverse Integer (Medium)
  83. Rotate Image (Medium)
  84. Search a 2D Matrix (Medium)
  85. Search in Rotated Sorted Array II (Medium)
  86. Spiral Matrix (Medium)
  87. String to Integer (atoi) (Medium)
  88. Unique Paths (Medium)
  89. Word Search (Medium)
  90. Candy (Hard)
  91. Department Top Three Salaries (Hard)
  92. Divide Nodes Into the Maximum Number of Groups (Hard)
  93. Longest Valid Parentheses (Hard)
  94. Median of Two Sorted Arrays (Hard)
  95. Merge k Sorted Lists (Hard)
  96. Minimum Insertion Steps to Make a String Palindrome (Hard)
  97. Regular Expression Matching (Hard)
  98. Shortest Palindrome (Hard)
  99. Smallest Divisible Digit Product II (Hard)
  100. Trapping Rain Water (Hard)

Prepare for the rest of the Accenture process

Other companies