Cisco Coding Interview Questions

86 DSA problems tagged as asked in Cisco coding interviews and online assessments. Below are all 86: 22 easy, 49 medium and 15 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Cisco DSA problems, easiest first

  1. Best Time to Buy and Sell Stock (Easy)
  2. Can Place Flowers (Easy)
  3. Check if Binary String Has at Most One Segment of Ones (Easy)
  4. Convert Binary Number in a Linked List to Integer (Easy)
  5. Fizz Buzz (Easy)
  6. Happy Number (Easy)
  7. Linked List Cycle (Easy)
  8. Lucky Numbers in a Matrix (Easy)
  9. Maximum Difference Between Increasing Elements (Easy)
  10. Merge Sorted Array (Easy)
  11. Move Zeroes (Easy)
  12. Number of Valid Words in a Sentence (Easy)
  13. Pascal's Triangle (Easy)
  14. Remove All Adjacent Duplicates In String (Easy)
  15. Remove Duplicates from Sorted Array (Easy)
  16. Reverse Linked List (Easy)
  17. Rising Temperature (Easy)
  18. Single Number (Easy)
  19. Two Sum (Easy)
  20. Two Sum IV - Input is a BST (Easy)
  21. Valid Palindrome (Easy)
  22. Valid Parentheses (Easy)
  23. 3Sum (Medium)
  24. Add Two Numbers (Medium)
  25. Decode String (Medium)
  26. Diagonal Traverse (Medium)
  27. Edit Distance (Medium)
  28. Expressive Words (Medium)
  29. Find the Duplicate Number (Medium)
  30. Find the Largest Area of Square Inside Two Rectangles (Medium)
  31. Find Third Transaction (Medium)
  32. Gas Station (Medium)
  33. Group Anagrams (Medium)
  34. House Robber (Medium)
  35. Implement Router (Medium)
  36. Insert Delete GetRandom O(1) (Medium)
  37. Interval List Intersections (Medium)
  38. Jump Game (Medium)
  39. Kth Smallest Element in a BST (Medium)
  40. Letter Combinations of a Phone Number (Medium)
  41. Longest Common Subsequence (Medium)
  42. Longest Consecutive Sequence (Medium)
  43. Longest Palindromic Substring (Medium)
  44. Longest Substring Without Repeating Characters (Medium)
  45. Lowest Common Ancestor of a Binary Tree (Medium)
  46. LRU Cache (Medium)
  47. Maximum Subarray (Medium)
  48. Meeting Rooms II (Medium)
  49. Merge Intervals (Medium)
  50. Minimum Sensors to Cover Grid (Medium)
  51. Minimum Time to Collect All Apples in a Tree (Medium)
  52. Number of Equal Count Substrings (Medium)
  53. Number of Islands (Medium)
  54. Palindromic Substrings (Medium)
  55. Permutation in String (Medium)
  56. Permutations (Medium)
  57. Pow(x, n) (Medium)
  58. Power Grid Maintenance (Medium)
  59. Predict the Winner (Medium)
  60. Product of Array Except Self (Medium)
  61. Reverse Words in a String (Medium)
  62. Rotate Image (Medium)
  63. Search in Rotated Sorted Array (Medium)
  64. Search in Rotated Sorted Array II (Medium)
  65. Snakes and Ladders (Medium)
  66. Sort Colors (Medium)
  67. Spiral Matrix (Medium)
  68. Stone Game (Medium)
  69. Subarray Sum Equals K (Medium)
  70. Validate IP Address (Medium)
  71. Word Search (Medium)
  72. Collect Coins in a Tree (Hard)
  73. Count of Integers (Hard)
  74. Design Search Autocomplete System (Hard)
  75. Find Servers That Handled Most Number of Requests (Hard)
  76. Integer to English Words (Hard)
  77. Largest Rectangle in Histogram (Hard)
  78. Max Points on a Line (Hard)
  79. Merge k Sorted Lists (Hard)
  80. Minimum Cost to Make Array Equal (Hard)
  81. Minimum Window Substring (Hard)
  82. Reverse Nodes in k-Group (Hard)
  83. Sliding Window Maximum (Hard)
  84. Sum of k-Mirror Numbers (Hard)
  85. Trapping Rain Water (Hard)
  86. Word Search II (Hard)

Prepare for the rest of the Cisco process

Other companies