Fortinet Interview Questions

Fortinet Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(29)
Machine Learning
(12)
SQL
(7)
Behavioral
(6)
Data Pipelines
(5)

Fortinet Interview Questions

Practice for the Fortinet interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Easy

Given a sorted list, create a function convert_to_bst that converts the list into a binary tree. convert_to_bst returns a TreeNode holding the root of the binary tree. A TreeNode is defined as the following:

from dataclasses import dataclass

class TreeNode:
    pass

@dataclass
class TreeNode:
    value: int
    left: TreeNode = None
    right: TreeNode = None

The output binary tree should be balanced, meaning the height difference between the left and right subtree of all the nodes should be at most one.

Example:

Input:

[1, 2, 3, 4, 5]

Output:

imageConverted Binary Tree.png

Note: The output in the test cases will return an in-order traversal of your tree.

Data Structures & Algorithms
Medium
Responsible AI & Security
Hard
Loading pricing options

View all Fortinet questions

Challenge

Check your skills...
How prepared are you for working at Fortinet?

Fortinet Salaries by Position

ML Engineer*
$170K
ML Engineer
Median: $170K
Mean (Average): $170K
Data points: 2
$116K
$132K
Business Analyst
Median: $122K
Mean (Average): $123K
Data points: 6
$51K
$174K
Software Engineer
Median: $121K
Mean (Average): $121K
Data points: 65
$120K
$121K
Data Scientist
Median: $121K
Mean (Average): $121K
Data points: 3
Business Intelligence*
$101K
$110K
Business Intelligence
Median: $105K
Mean (Average): $105K
Data points: 2

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the ML Engineer role pays the most with a $170,000 base salary while the Business Intelligence role on average pays the least with a $105,000 base salary.

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.