<commit_before>package leetcode;

/**
 * https://leetcode.com/problems/insert-into-a-binary-search-tree/
 */
public class Problem701 {
    public static class TreeNode {
        int val;
        TreeNode left;
        TreeNode right;

        TreeNode(int x) {
            val = x;
        }
    }

    public TreeNode insertIntoBST(TreeNode root, int val) {
        // TODO
        return null;
    }

    public static void main(String[] args) {
        Problem701 prob = new Problem701();
    }
}<commit_msg>Solve problem 701 (my 600th problem :)<commit_after>package leetcode;

/**
 * https://leetcode.com/problems/insert-into-a-binary-search-tree/
 */
public class Problem701 {
    public static class TreeNode {
        int val;
        TreeNode left;
        TreeNode right;

        TreeNode(int x) {
            val = x;
        }
    }

    public TreeNode insertIntoBST(TreeNode root, int val) {
        if (root == null) {
            return new TreeNode(val);
        }
        if (root.val > val) {
            root.left = insertIntoBST(root.left, val);
        } else {
            root.right = insertIntoBST(root.right, val);
        }
        return root;
    }
}
{'fraction_non_alphanumeric': 0.10847457627118644, 'fraction_numerical': 0.015254237288135594, 'mean_word_length': 1.8052256532066508, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5700408', 'n_tokens_mistral': 380, 'n_tokens_neox': 356, 'n_words': 88}